Skip to content

Commit

Permalink
Update AreaOfTriangle.py
Browse files Browse the repository at this point in the history
  • Loading branch information
sayampradhan authored Oct 14, 2022
1 parent 5fdaba0 commit 5eb267e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions AreaOfTriangle.py
Original file line number Diff line number Diff line change
Expand Up @@ -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: ' + area)
area = (s * (s - a) * (s - b) * (s - c)) ** 0.5
print("The area of the triangle is: " + area)

0 comments on commit 5eb267e

Please sign in to comment.