Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Shabnam_ticket
promot = "\nHello, How old are you dear person? " promot += "\nWhen you are finished please enter -1! " while True: age = input(promot) if age == -1: break age = int(age) if age <= 3: print("Ticket is free for you") elif 3 < age and age <=12: print("The ticket is 10$ for you") else: print("The ticket is 15$ for you") print("Thank you")
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
test
mad libs game
TIC TAC TOW.py
Цідило
Цідило
trial
on_off
PyPropertyClass
Aisha Lesson 2
Counter() in collections
Please log in to post a comment.