File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -42,15 +42,15 @@ rainfall = int(input("Enter the amount of rainfall for the day: "))
42
42
while rainfall != 9999 :
43
43
if rainfall < 0 :
44
44
print (" Invalid rainfall amount. Please try again." )
45
- rainfall = int (input (" Enter the amount of rainfall for the day: " )
45
+ rainfall = int (input (" Enter the amount of rainfall for the day: " ))
46
46
else :
47
47
num_valid_days += 1
48
48
total_rainfall += rainfall
49
49
if rainfall > 0 :
50
50
num_rainy_days += 1
51
51
if rainfall > max_rainfall:
52
52
max_rainfall = rainfall
53
- rainfall = int (input (" Enter the amount of rainfall for the day: " )
53
+ rainfall = int (input (" Enter the amount of rainfall for the day: " ))
54
54
print (" Number of valid days:" , num_valid_days)
55
55
print (" Number of rainy days:" , num_rainy_days)
56
56
print (" Total rainfall over the period:" , total_rainfall)
You can’t perform that action at this time.
0 commit comments