0
Why is my ticketing system not going through?
https://code.sololearn.com/cdS5EJFFh4pz/?ref=app ticketing system price of a single ticket $100, for children under 3 years old, the ticket is free. The program needs to take the ages of 5 passengers as input and output the total price for their tickets
1 Answer
+ 3
You have to indent every time you use a loop or decision statement:
while():
if():
#some code
elif():
#some code