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