Skip to content
Related Articles

Related Articles

Improve Article
Save Article
Like Article

Python Program for Program to find area of a circle

  • Difficulty Level : Easy
  • Last Updated : 12 Apr, 2022

Area of a circle can simply be evaluated using following formula.

Area = pi * r2
where r is radius of circle 

Python3




# 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));
  
  
  
# This code is contributed by Chinmoy Lenka

Python3




# Python program to find Area of a circle using inbuild library
  
import math
def area(r):
 area = math.pi* pow(r,2)
 return print('Area of circle is:' ,area)
area(4)
  
  
# This code is contributed by Sejal Pol

Please refer complete article on Program to find area of a circle for more details!

My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!