PLEASE HELP ME!
Here is my assignment:
Write a loop control program that will provide important statistics for the grades in a class. The program will utilize a loop to read five floating-point grades from user input. Ask the user to enter the values, then print the following data: Average Maximum Minimum
My textbook and instructor have really given me no guidance on how to use floating numbers in a loop. Here is what I have come up with so far:
for grade in range(5): int(input("Enter Grade (percentage): ")) if max: print('Max:') if min: print('Min:') else: print('Average:')
This allows me to get the loop to run 5 times but how do I actually calculate the min, max, and average for unknown variables?