Advertisement
exDotaPro

15_june_2019_1_series_calculator

Jan 21st, 2020
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.42 KB | None | 0 0
  1. import math
  2.  
  3. series_title = input()
  4. seasons = int(input())
  5. episodes = int(input())
  6. episode_time = int(input())
  7.  
  8. commercial_time = 0.2 * episode_time
  9. total_episode_time = episode_time + commercial_time
  10. season_end_time = seasons * 10
  11. total_series_time = episodes * total_episode_time * seasons + season_end_time
  12.  
  13. print(f'Total time needed to watch the {series_title} series is {math.floor(total_series_time)} minutes.')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement