0

WHILE

Greetings to everyone I'm struggling with this question/problem could you kindly assist . write a python program that uses a while loop. the program must prompt the user to enter an integer number.the value must be added to a total.the loop must continue until the total exceeds 45. after the loop the average of the numbers must be calculated. the program must display each of the input values, as well as the sum of all values and the average value. enhancement, replace the user prompt with a random number selector

20th Apr 2020, 7:33 PM
Stayela
Stayela  - avatar
1 Answer