- Compulsory Task 3 Follow These Steps Create A New File Called While Py Write A Program That Always Asks The User T 1 (40.58 KiB) Viewed 38 times
Compulsory Task 3 Follow these steps: • Create a new file called while.py. • Write a program that always asks the user t
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
Compulsory Task 3 Follow these steps: • Create a new file called while.py. • Write a program that always asks the user t
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.