So i wanted to make sin 30. The answere should be 0.5 but what it show up not 0.5 how to fix this? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

So i wanted to make sin 30. The answere should be 0.5 but what it show up not 0.5 how to fix this?

MATH SOLUTION

13th Apr 2022, 4:10 AM
Arthur P
1 Answer
+ 3
from math import sin,radians print(round(sin(radians(30)),1))
13th Apr 2022, 4:55 AM
Simba
Simba - avatar