Skip to content

Commit a5f0e0e

Browse files
authored
Refactor: Clean code
1 parent d1eed79 commit a5f0e0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Areaoftriangle renamed to AreaOfTriangle.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@
1414

1515
# calculate the area
1616
area = (s*(s-a)*(s-b)*(s-c)) ** 0.5
17-
print('The area of the triangle is %0.2f' %area)
17+
print('The area of the triangle is: ' + area)

0 commit comments

Comments
 (0)