Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- movie_time = int(input())
- scenes = int(input())
- scene_time = int(input())
- total = 0.15 * movie_time + scenes * scene_time
- if total >= movie_time:
- print(f"Time is up! To complete the movie you need {round(total - movie_time)} minutes.")
- else:
- print(f"You managed to finish the movie on time! You have {round(movie_time - total)} minutes left!")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement