# Import math Library import math # Print the value of pi print (math.pi)
from math import cos,pi a = pi b = cos(a) c = 180 d = cos(c) print(b,d) # returns -1,-0.59846 # cos function works with radians