Question: Please help me with this python question. I would appreciate it if you add some explanations. Write a program that defines five integer variables, reads
Please help me with this python question. I would appreciate it if you add some explanations.
Write a program that defines five integer variables, reads in five integers, and then outputs the sum of only the positive inputs, the average of only the positive inputs, the sum of only the negative inputs, the average of only the negative inputs, the sum of all the inputs, and the average of all the inputs.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
