Course
Simulator
More
Premium
Log in
Python Function Reference
Functions
math.sin
math.sin
Return the sine of x (in radians).
Python 3.13
1
math
.
sin
(
x
)
x
The angle in radians.
Examples
Python 3.13
1
2
import
math math
.
sin
(
math
.
pi
/
2
)
1.0