Sichanov

rere

Jan 16th, 2021
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.27 KB | None | 0 0
  1. w = float(input()) * 100
  2. h = float(input()) * 100
  3. real_h = h - 100
  4. door = 1
  5. catedra = 2
  6. desk_h = 70
  7. desk_w = 120
  8. total_desk_w = w // desk_w
  9. total_desk_h = real_h // desk_h
  10. total_workplaces = (total_desk_h * total_desk_w) - door - catedra
  11. print(f'{total_workplaces:.0f}')
Advertisement
Add Comment
Please, Sign In to add comment