a guest Nov 17th, 2019 72 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. x=int(input())
  2. y=int(input())
  3. z=int(input())
  4. import math
  5. def ugol(x,y,z):
  6.     d1=((y**2+z**2-x**2)/2*y*z)
  7.     ugol1=math.degrees(math.acos(d1))
  8.     d2=((x**2+z**2-y**2)/2*x*z)
  9.     ugol2=math.degrees(math.acos(d2))
  10.     d3=((y**2+x**2-z**2)/2*y*x)
  11.     ugol3=math.degrees(math.acos(d3))
  12.     a=(ugol1,ugol2,ugol3)
  13.     return (a)
  14. print(ugol(x,y,z))
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand