Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- a = input("Введите свой возраст ")
- a = int(a)
- active = True
- while active:
- if a < 3:
- print("Вход бесплатный")
- elif a > 3 and a < 12:
- print("Стоит 10$")
- else:
- print("Стоит 15$")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement