Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- x=int(input())
- y=int(input())
- z=int(input())
- import math
- def ugol(x,y,z):
- d1=((y**2+z**2-x**2)/2*y*z)
- ugol1=math.degrees(math.acos(d1))
- d2=((x**2+z**2-y**2)/2*x*z)
- ugol2=math.degrees(math.acos(d2))
- d3=((y**2+x**2-z**2)/2*y*x)
- ugol3=math.degrees(math.acos(d3))
- a=(ugol1,ugol2,ugol3)
- return (a)
- print(ugol(x,y,z))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement