Advertisement
Spocoman

02. Triangle Area

Dec 8th, 2021
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.19 KB | None | 0 0
  1. side = float(input())
  2. height = float(input())
  3. result = side * height / 2
  4. print(f'{result:.2f}')
  5.  
  6.  
  7. Taрикатско решение:)
  8.  
  9. print(f'{float(input()) * float(input()) / 2:.2f}')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement