Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- screening_type = input()
- rows = int(input())
- columns = int(input())
- income = 0
- if screening_type == 'Premiere':
- income = rows * columns * 12
- elif screening_type == 'Normal':
- income = rows * columns * 7.5
- else:
- income = rows * columns * 5
- print(f'{income:.2f} leva')
- Тарикатско решение:)
- data = {'Premiere': 12, 'Normal': 7.5, 'Discount': 5}
- print(f'{data[input()] * int(input()) * int(input()):.2f} leva')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement