Python Program for Program to find area of a circle

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

Area = pi * r2
where r is radius of circle 

Python3

filter_none

edit
close

play_arrow

link
brightness_4
code

# 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

chevron_right


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



My Personal Notes arrow_drop_up


Article Tags :

4


Please write to us at contribute@geeksforgeeks.org to report any issue with the above content.