Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # общо време на епизод = време за гледане + реклами
- # допълнително време = сезони * 10
- # крайно време = сезона * епизоди * общо време на епизод + допълнително време
- import math
- series_name = input()
- count_seasons = int(input())
- count_episodes = int(input())
- watch_time_episode = float(input())
- total_time_episode = watch_time_episode + (0.2 * watch_time_episode)
- additional_time = count_seasons * 10
- total_time_series = (count_seasons * count_episodes * total_time_episode) + additional_time
- print(f"Total time needed to watch the {series_name} series is {math.floor(total_time_series)} minutes.")
Advertisement
Add Comment
Please, Sign In to add comment