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!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
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 Réponse
+ 3
from math import sin,radians print(round(sin(radians(30)),1))
13th Apr 2022, 4:55 AM
Simba
Simba - avatar