Advertisement
HristoBaychev

Vacation books list

Jan 22nd, 2023
665
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.24 KB | None | 0 0
  1. from math import floor
  2.  
  3. numberPages = int(input())
  4. readPagesForHour = int(input())
  5. daysToEnd = int(input())
  6.  
  7. totalTimeForRead = numberPages / readPagesForHour
  8. needHourPerDay = totalTimeForRead / daysToEnd
  9.  
  10. print(floor(needHourPerDay))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement