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)
2 Antworten
+ 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.
+ 1
Thank you will try now