0

Help in the erro can't seam to figure out total = + 100 seams to be problem but not sure y

total=0 passenger=0 while passenger <5: age=(int(input()) if age >3 total =+100 passenger +=1 print (total)

26th Jun 2022, 6:33 PM
Jason
2 odpowiedzi
+ 2
total=0 passenger=0 while passenger <5: age=int(input() if age >3: total +=100 passenger +=1 print (total) this should work, it had few syntax error.
26th Jun 2022, 6:36 PM
Satyam Mishra
Satyam Mishra - avatar
+ 1
Thank you will try now
26th Jun 2022, 6:52 PM
Jason