Question: I need an example of how a (python program) would look like for this problem please Given the list below: myList = [20, 1, -34,

I need an example of how a (python program) would look like for this problem please I need an example of how a (python program) would look like

Given the list below: myList = [20, 1, -34, 4, -8, 60, 1, 3, 2, 15, 6] Write a python program that does the following: a) count the positive numbers in the list and print the result b) count the negative numbers in the list and print the result c) compute the average of the positive values in the list and print the result, d) compute the average of the negative values in the list and print the result

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!