Skip to content

Commit d2b1685

Browse files
authored
Added valid comment for this program
1 parent fd3fa30 commit d2b1685

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Basics/area.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# IT will calculate the area of a triangle
2+
# Area of Traingle is=1/2*Base*Height
13
def calculate_area(base, height):
24
print("__name__: ",__name__)
35
return 1/2*(base*height)

0 commit comments

Comments
 (0)