a guest Feb 26th, 2020 72 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- while True:
- num = int(input('Your number: '))
- except ValueError as errorMessage:
- print(errorMessage + '. Please try again.')
RAW Paste Data