Question: Write a PYTHON program that will ask a user to enter how many set of numbers to input. For example, if the user enters 4,
Write a PYTHON program that will ask a user to enter how many set of numbers to input. For example, if the user enters 4, then the program will loop four times and ask the user to enter four more numbers. The numbers entered can be negative or positive numbers. After the user has entered all the numbers, the program will determine how many positive and negative values were read, and compute the total and average of the input values. Below is a sample of a running program:
How many set of numbers would you like to enter: 4
1. Enter number: 1 2. Enter number: 2 3. Enter number: -1
4. Enter number: 3
The number of positives is 3
The number of negatives is 1
The total is 5 The average is 1.25
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
