Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- num = 93
- isWin = False
- while not isWin:
- INPUT = int(input("Введи число от 80 до 100 >>> "))
- if not (INPUT > 100) and not (INPUT < 80):
- if INPUT == num:
- print("Ты угадал!")
- isWin = True
- elif INPUT > num:
- print("Твоё число больше.")
- elif INPUT < num:
- print("Твоё число меньше")
- else:
- print("Число должно быть от 80 до 100")
- print()
- input()
Advertisement
Add Comment
Please, Sign In to add comment