Advertisement
Spocoman

Movie Profit

Feb 25th, 2022
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.22 KB | None | 0 0
  1. movie = input()
  2. days = int(input())
  3. ticket = int(input())
  4. price = float(input())
  5. percent = int(input())
  6. total = days * ticket * price
  7.  
  8. print(f"The profit from the movie {movie} is {total - total * percent / 100:.2f} lv.")
  9.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement