Write a function that returns log of a function


Topic: Write a function that returns log of a function

Solution

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



List all Python Programs