Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # 1. цяло число
- # 2. проверка дали е под 100 -> "Less than 100"
- # 3. проверка дали е между 100 и 200 -> "Between 100 and 200"
- # 4. проверка дали е над 200 -> "Greater than 200"
- number = int(input())
- if number < 100:
- print("Less than 100")
- elif 100 <= number <= 200:
- print("Between 100 and 200")
- elif number > 200:
- print("Greater than 200")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement