Advertisement
aneliabogeva

Series Calculator

Jun 15th, 2019
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. import math
  2. name = input()
  3. seasons_number = int(input())
  4. epizode_number = int(input())
  5. time_epizod = float(input())
  6.  
  7. time_adds = time_epizod * 0.20
  8. time_epizod_adds = time_adds + time_epizod
  9.  
  10. last_epizod = time_epizod + 10
  11.  
  12. total = time_epizod_adds*epizode_number*seasons_number + seasons_number * 10
  13. print(f"Total time needed to watch the {name} series is {math.floor(total)} minutes.")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement