Write a function to return the area of a circle of raidus r


Topic: Write a function to return the area of a circle of raidus r

Solution

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



List all Python Programs