Skip to content

Commit 4f7a38a

Browse files
committed
fix: typo in code
1 parent 9f9c52d commit 4f7a38a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

chapter-1/103.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,15 @@ rainfall = int(input("Enter the amount of rainfall for the day: "))
4242
while rainfall != 9999:
4343
if rainfall < 0:
4444
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: "))
4646
else:
4747
num_valid_days += 1
4848
total_rainfall += rainfall
4949
if rainfall > 0:
5050
num_rainy_days += 1
5151
if rainfall > max_rainfall:
5252
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: "))
5454
print("Number of valid days:", num_valid_days)
5555
print("Number of rainy days:", num_rainy_days)
5656
print("Total rainfall over the period:", total_rainfall)

0 commit comments

Comments
 (0)