Why the value of sin is not matching my calculator? [duplicate]

  math, python, trigonometry
import math

Sum=math.sin(45)
print(Sum)

after running this code the value of sin(45) is:0.8509035245341184
But in my calculator the value is:0.7071067811865475244008
why are they different?
can someone please tell me

Source: Python Questions

LEAVE A COMMENT