Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- b1 = float(input())
- b2 = float(input())
- h = float(input())
- result = (b1 + b2) * h / 2
- print(f'{result:.2f}')
- Тарикатско решение:)
- print(f'{(float(input()) + float(input())) * float(input()) / 2:.2f}')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement