Skip to content

Commit 6d01189

Browse files
Merge pull request #1540 from cyai/cyai-patch-7
Refactor: Clean code
2 parents 964921c + 480cb49 commit 6d01189

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)