Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- volume = int(input("Введите громкость: "))
- if volume > 0 and volume <= 100:
- print("Громкость установлена на {}".format(volume))
- else:
- print("Неверное значение громкости")
Advertisement
Advertisement