Run
import math x = 60 #degrees x = math.radians(x) #radians result = math.cos(x) print('cos(x) :', result)
Output