Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- x=input('Enter your name: ')
- while True:
- if x==int or x==bool or x==float:
- print('error, incorrect name please try again!')
- else:
- print('Nice name', x, '!')
- break
- if x==int or x==bool or x==float:
- print('error, incorrect name please try again!')
- else:
- print('Nice name', x, '!')
- break
Add Comment
Please, Sign In to add comment