[ANSWERED] Having trouble with "break and continue" task.
So the task is to take the age of 5 passengers boarding a plane. If a passenger is below the age of 3 then their ticket is free. Anyone older than that will be $100. After inputting the ages 5 time it will then print out how much the bill will be. I am getting an error on line 6. Here is the error and code. Any help? Error: Traceback (most recent call last): File "/usercode/file0.py", line 6, in <module> age = input() EOFError: EOF when reading a line Code: total = 0 #Total amount of money they will pay passengers = 5 #Amount of passengers that will be boarding while passengers >= 0: age = input() if int(age) >= 3: total += 100 else: continue passengers -= 1 print(total)