0
In beginners python the ticket price problem in break and continue is not working reason?
total=0 i=0 while i<5: age=int(input()) if age>3: total=+100 i=i+1 print(total)
2 Réponses
+ 3
change =+ to +=
total+=100
https://www.sololearn.com/Course/JUMP_LINK__&&__Python__&&__JUMP_LINK/2429/?ref=app
0
To Avoid Confusion, Write a readable code like this
total = total+100.