Advertisement
Guest User

Untitled

a guest
May 5th, 2020
9
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. import time
  2. wopros = float(input("Введите время (мин. сек.): "))
  3. if wopros < 1:
  4. wopros = wopros * 10
  5. time.sleep(wopros)
  6. else:
  7. wopros = wopros * 60
  8. time.sleep(wopros)
  9. print("Время вышло!" + '\a')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement