Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- num = int(input())
- valid = (num >= 100 and num <= 200) or num == 0
- if not valid:
- print("invalid")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement