Get your own Python server Result Size: 625 x 565
x
 
# Import math Library
import math
# Return the cosine of different numbers
print (math.cos(0.00))
print (math.cos(-1.23))
print (math.cos(10))
print (math.cos(3.14159265359))
1.0
0.3342377271245026
-0.8390715290764524
-1.0