Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- base_pay = None
- while True:
- try:
- base_pay = int(input(">>> "))
- break
- except ValueError:
- print("Numbers only please")
- if not (800 <= base_pay <= 1500):
- print("Please enter a value between 800 and 1500")
- continue
Add Comment
Please, Sign In to add comment