fork download
  1. import sys
  2.  
  3. def ageEV():
  4. print('How old are you?')
  5. age=int(sys.stdin.readline())
  6. if age<=15:
  7. print('you are a child!')
  8. elif age>15 and age<40:
  9. print('you are a young!')
  10. else:
  11. print('you are old!')
  12. ageEV()
Success #stdin #stdout 0.02s 9352KB
stdin
10
stdout
How old are you?
you are a child!