Advertisement
Roman_Sarnov

Untitled

Aug 17th, 2019
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. a = input("Введите свой возраст ")
  2. a = int(a)
  3. active = True
  4. while active:
  5. if a < 3:
  6. print("Вход бесплатный")
  7. elif a > 3 and a < 12:
  8. print("Стоит 10$")
  9. else:
  10. print("Стоит 15$")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement