Skip to content

Commit

Permalink
Format Document
Browse files Browse the repository at this point in the history
  • Loading branch information
sayampradhan authored Oct 14, 2022
1 parent 5fdaba0 commit 767e26a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions AREA OF TRIANGLE.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Python Program to find the area of triangle
#calculates area of traingle in efficient way!!
# calculates area of traingle in efficient way!!
a = 5
b = 6
c = 7
Expand All @@ -13,5 +13,5 @@
s = (a + b + c) / 2

# calculate the area
area = (s*(s-a)*(s-b)*(s-c)) ** 0.5
print('The area of the triangle is %0.2f' %area)
area = (s * (s - a) * (s - b) * (s - c)) ** 0.5
print("The area of the triangle is %0.2f" % area)

0 comments on commit 767e26a

Please sign in to comment.