Advertisement
Xlorddx

Untitled

Aug 13th, 2018
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.12 KB | None | 0 0
  1. while True:
  2.     w = int(input('Кол-во пирожков: '))
  3.     if w // 2 >= 10:
  4.         print(w - 10)
  5.     else:
  6.         print(w // 2)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement