Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- people = int(input())
- nights = int(input())
- cards = int(input())
- tickets = int(input())
- total = people * (nights * 20 + cards * 1.60 + tickets * 6) * 1.25
- print(f'{total:.2f}')
- Или тарикатската:)
- print(f'{int(input()) * (int(input()) * 20 + int(input()) * 1.60 + int(input()) * 6) * 1.25:.2f}')
Add Comment
Please, Sign In to add comment