import math
x = math.pi / 2
print(math.sin(x))
print(math.cos(x))
Note: The arguments of these functions should be in radians.
Read more here:
https://docs.python.org/3/library/math.html
3rd Sep 2018, 11:50 AM
Kishalaya Saha
Vous avez souvent des questions comme celle-ci ?
Apprenez de maniĂšre plus efficace, gratuitement :