subject
Engineering, 08.11.2019 21:31 hunterthompson2

In this section, your are going to recreate a function called make_new_list which takes a list called data_list as its input. this function will use is_positive and is_even to mimic the task from a2-q13. that is, this function will check each value in data_list to see if they are even or odd and whether they are positive or negative. if they are both positive and even, encode this as the number 1 if they are both negative and odd, encode this as the the number -1 otherwise, encode this as the number 0 store the result for each value into a list called output and return it.

ansver
Answers: 1

Another question on Engineering

question
Engineering, 04.07.2019 18:10
What difference(s) did you notice using a pneumatic circuit over hydraulic circuit.explain why the pneumatic piston stumbles when it hits an obstacle.
Answers: 2
question
Engineering, 04.07.2019 18:10
Afull journal bearing has a journal diameter of 27 mm, with a unilateral tolerance of -0.028 mm. the bushing bore has a diameter of 27.028 mm and a unilateral tolerance of 0.04 mm. the l/d ratio is 0.5. the load is 1.3 kn and the journal runs at 1200 rev/min. if the average viscosity is 50 mpa-s, find the minimum film thickness, the power loss, and the side flow for the minimum clearance assembly.
Answers: 1
question
Engineering, 04.07.2019 18:10
Different types of steels contain different elements that alter the characteristics of the steel. for each of the following elements, explain what the element does when alloyed with steel.
Answers: 2
question
Engineering, 04.07.2019 18:10
Determine whether or not it is possible to compress air adiabatically from k to 140 kpa and 400 k. what is the entropy change during this process?
Answers: 3
You know the right answer?
In this section, your are going to recreate a function called make_new_list which takes a list calle...
Questions
question
Business, 19.07.2019 18:40