Advertisement
simeonshopov

Cinema

Sep 20th, 2019
172
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.25 KB | None | 0 0
  1. type = input().lower()
  2. rows = int(input())
  3. coloms = int(input())
  4.  
  5. room = rows * coloms
  6.  
  7.  
  8. if type == "premiere":
  9.   profit = room * 12
  10. elif type == "normal":
  11.   profit = room * 7.50
  12. elif type == "discount":
  13.   profit = room * 5
  14.  
  15. print(f"{profit:.2f}")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement