Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while True:
- num = float(input())
- if 1 <= num <= 100:
- print(f'The number {num} is between 1 and 100')
- break
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement