simeonshopov

Movie profit (june exam)

Nov 6th, 2019
181
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.24 KB | None | 0 0
  1. name = input()
  2. days = input()
  3. tickets = int(input())
  4. ticket_price = float(input())
  5. cinema_fee = int(input())
  6.  
  7. print(f"The profit from the movie {name} is {((float(days) * float(tickets) * ticket_price) * (1 - cinema_fee / 100)):.2f} lv.")
Add Comment
Please, Sign In to add comment