Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from math import *
- s1=float(input())
- s2=float(input())
- s3=float(input())
- s=(s1+s2+s3)/2
- sahe=sqrt(s*(s-s1)*(s-s2)*(s-s3))
- if s1==s2==s3:
- print(sahe)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement