0
Guys I cant do this question
this is the code I tried to do: total=0 x=0 while x<5: age = int(input()) if age>3: total += 100 x+=1 print (total)
3 Réponses
+ 4
Variable age and if statement are not in the same block. Just indent one of them.
+ 5
Indentation error
+ 2
#Indentation matters
[edited]