Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- num = int(input())
- if num < 100:
- print('Less than 100')
- elif num > 200:
- print('Greater than 200')
- else:
- print('Between 100 and 200')
- Тарикатско решение:)
- num = int(input())
- print('Less than 100' if num < 100 else 'Greater than 200' if num > 200 else 'Between 100 and 200')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement