We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5fdaba0 commit 767e26aCopy full SHA for 767e26a
AREA OF TRIANGLE.py
@@ -1,5 +1,5 @@
1
# Python Program to find the area of triangle
2
-#calculates area of traingle in efficient way!!
+# calculates area of traingle in efficient way!!
3
a = 5
4
b = 6
5
c = 7
@@ -13,5 +13,5 @@
13
s = (a + b + c) / 2
14
15
# calculate the area
16
-area = (s*(s-a)*(s-b)*(s-c)) ** 0.5
17
-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 commit comments