Write a function to return the circumference of a circle


Topic: Write a function to return the circumference of a circle

Solution

def cal_circumference(r):
    pi = 3.14
    return 2*pi*r



List all Python Programs