+1

What's wrong in this code?

When we pass the value in sin function, what does it actually consider? Degree or radian https://code.sololearn.com/cosZK6Y79w4F/?ref=app

10/27/2019 7:43:39 AM

Hrishikesh Gaikwad

1 Answer

New Answer

+6

math.sin(x) Return the sine of x radians. https://docs.python.org/3/library/math.html#math.sin Use math.sin(math.degrees(x)) instead.