- Joined
- Nov 2, 2023
- Messages
- 2
- Reaction score
- 0
I'm getting this error " input expected at most 1 argument, got 3"
my goal is this : I have a loop asking for the amount of rain in a month,I want it to ask for month 1 , month 2 so on and so on .
this is what I got
while index<=numYears:
numMonths=0
numMonths=float(input("Enter the number of months for recorded rainfall in year ", index , ":" ) )
my goal is this : I have a loop asking for the amount of rain in a month,I want it to ask for month 1 , month 2 so on and so on .
this is what I got
while index<=numYears:
numMonths=0
numMonths=float(input("Enter the number of months for recorded rainfall in year ", index , ":" ) )