python sin function code example
Example 1: sine python
import math
math.sin() #sine function | Note this function won't work without a number between the parentheses
#In Practice:
ans = math.sin(90)
print(ans)
Example 2: python floor
import math
x = 3.86356
math.floor(x)
#Returns: 3
math.ceil(x)
#Returns: 4
Example 3: sin function in python does it values in radians
math.sin(value) # value must be in radians ,1 degree = 0.0174533 radians