Compulsory Task 3 Follow these steps: • Create a new file called while.py. • Write a program that always asks the user t
Posted: Mon Jun 06, 2022 1:34 pm
Compulsory Task 3 Follow these steps: • Create a new file called while.py. • Write a program that always asks the user to enter a number. • When the user enters -1, the program should stop requesting the user to enter a number, • The program must then calculate the average of the numbers entered, excluding the -1. ● Make use of the while loop repetition structure to implement the program. • Compile, save and run your file.