simeonshopov

Series Calculator (june exam)

Nov 6th, 2019
204
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.31 KB | None | 0 0
  1. import math
  2. name = input()
  3. seasons = int(input())
  4. epizods = int(input())
  5. epizod_time = float(input())
  6.  
  7. extra_time = seasons * 10
  8. epizods_time = seasons * epizods * epizod_time * 1.2
  9. time = extra_time + epizods_time
  10.  
  11. print(f"Total time needed to watch the {name} series is {math.floor(time)} minutes.")
Advertisement
Add Comment
Please, Sign In to add comment