Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- type = input().lower()
- rows = int(input())
- coloms = int(input())
- room = rows * coloms
- if type == "premiere":
- profit = room * 12
- elif type == "normal":
- profit = room * 7.50
- elif type == "discount":
- profit = room * 5
- print(f"{profit:.2f}")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement