Guest User

Untitled

a guest
Feb 19th, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. age = input("How old are you?")
  2. if age.isdigit() is True:
  3. print('Nice! You are', age, 'y.o. dude!')
  4. elif age.isalpha() is True:
  5. print('Please try to type digits only!')
  6. else:
  7. print('You are trolling me?')
Add Comment
Please, Sign In to add comment