Guest User

Untitled

a guest
Jun 23rd, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. x=input('Enter your name: ')
  2. while True:
  3. if x==int or x==bool or x==float:
  4. print('error, incorrect name please try again!')
  5. else:
  6. print('Nice name', x, '!')
  7. break
  8.  
  9. if x==int or x==bool or x==float:
  10. print('error, incorrect name please try again!')
  11. else:
  12. print('Nice name', x, '!')
  13. break
Add Comment
Please, Sign In to add comment