Advertisement
Spocoman

04. Vacation books list

Dec 1st, 2021 (edited)
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.38 KB | None | 0 0
  1. list = int(input())
  2. list_per_hour = int(input())
  3. day = int(input())
  4. hours_per_day = list / list_per_hour / day
  5. print(int(hours_per_day))
  6.  
  7. Или така:
  8.  
  9. list = int(input())
  10. list_per_hour = int(input())
  11. day = int(input())
  12. hours_per_day = list // list_per_hour // day
  13. print(hours_per_day)
  14.  
  15. Или тарикатската:)
  16.  
  17. print(int(input()) // int(input()) // int(input()))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement