Write a function that returns cosine value of the input


Topic: Write a function that returns cosine value of the input

Solution

def cos(x:float) -> float:
    import math
    return math.cos(x)



List all Python Programs