Write a program to read a list of non-negative integers,

and to display the largest integer, the smallest integer,

and the average of all the integers.

The user indicates the end of the list by entering a negative

sentinel value (use -1) that is NOT used in the calculations.

The average should be displayed as a value of type float,

to three decimal places.

The program should repeat at the user's request.

This is code that I have typed in so far, but I dun know to use it beyond that, please help.

max_number = -1

min_number = 10000000

total = 0

list_of_numbers = (input("Enter a list of numbers, (Enter -1 to stop): "))

list_of_numbers = int (list_of_numbers)

while list_of_numbers != -1:

list_of_numbers = (input("Enter a list of numbers, (Enter -1 to stop): "))

list_of_numbers = int (list_of_numbers)

Thanks,

Tony