Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- paper = float(input()) * 5.8
- cloth = float(input()) * 7.2
- glue = float(input()) * 1.2
- discount = float(input())
- total = (paper + cloth + glue) * (100 - discount) / 100
- print(f'{total:.3f}')
- ИЛИ ТАРИКАТСКАТА:
- print(f'{((float(input()) * 5.8 + float(input()) * 7.2 + float(input()) * 1.2) * (100 - float(input())) / 100):.3f}')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement