How to finish for loop that counts attempt on user input and then use the sum function to add all of the 5 nums from user input?
11:48 12 Sep 2026

I'm asked to make a program that receives the 7 daily water consumption values.

I need to calculate the total of water consumed, the average daily consumption and the number of days that the water consumption was greater than 100.

Example:

input:

80 120 95 110 90 130 71

Output:

Total: 700

Average: 100

Days over 100: 3

this is my code that i have for the moment.

count = 0
for attempt in range(5):
    count = int(input("Enter grades: "))
    count += 1
    if count == 5:
        sum(attempt)

Python says its wrong but i dont know how to make it sum up all of the 5 user input.

python for-loop