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, 03.07.2019 15:10
If you were designing a bumper for a car, would you prefer it to exhibit elastic or plastic deformation? why? consider the functions of a bumper in both a minor "fender-bender" and a major collision.
Answers: 1
question
Engineering, 04.07.2019 08:10
Which of the following is an easy way to remember the modified “x” tire rotation? a. nondrive wheels straight, cross the drive wheels b. drive wheels straight, cross the nondrive wheels c. drive wheels crossed, nondrive wheels straight d. drive wheels crossed, nondrive wheels crossed
Answers: 1
question
Engineering, 04.07.2019 18:10
Aflywheel accelerates for 5 seconds at 2 rad/s2 from a speed of 20 rpm. determine the total number of revolutions of the flywheel during the period of its acceleration. a.5.65 b.8.43 c. 723 d.6.86
Answers: 2
question
Engineering, 04.07.2019 18:10
Coiled springs ought to be very strong and stiff. si3n4 is a strong, stiff material. would you select this material for a spring? explain.
Answers: 2
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
Questions on the website: 13722362