Python Program for Program to find area of a circle

# Python program to find Area of a circle

def findArea(r):

PI = 3.142

return PI * (r*r);

# Driver method

print("Area is %.6f" % findArea(5));


OUTPUT:

Area is 78.550000

Post a Comment

Previous Post Next Post