Skip to content

Commit 9d9d4a7

Browse files
authored
Create find area of circle
1 parent f581e7e commit 9d9d4a7

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

find area of circle

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Python program to find Area of a circle
2+
3+
def findArea(r):
4+
PI = 3.142
5+
return PI * (r*r);
6+
7+
# Driver method
8+
print("Area is %.6f" % findArea(5));
9+
10+
# enjoy

0 commit comments

Comments
 (0)