From 767e26a25501da35415ae3377edaa01e70c7b325 Mon Sep 17 00:00:00 2001 From: sayampradhan <112542130+sayampradhan@users.noreply.github.com> Date: Fri, 14 Oct 2022 22:44:34 +0530 Subject: [PATCH] Format Document --- AREA OF TRIANGLE.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/AREA OF TRIANGLE.py b/AREA OF TRIANGLE.py index e71116f9762..2aae5b0d645 100644 --- a/AREA OF TRIANGLE.py +++ b/AREA OF TRIANGLE.py @@ -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 @@ -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)