DEV Community

El_Taller
El_Taller

Posted on

Python average program

Write a program that always asks the user to enter a number. When the user enters the negative number -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.

Top comments (0)