Skip to content

Commit 111b680

Browse files
Update AreaTriangle
1 parent 99cf7d7 commit 111b680

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

AreaTriangle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
a = float(input('Enter first side: '))
2-
b = float(input('Enter second side: '))
3-
c = float(input('Enter third side: '))
1+
X = float(input('Enter first side: '))
2+
Y = float(input('Enter second side: '))
3+
Z = float(input('Enter third side: '))
44

55
# calculate the semi-perimeter
66
s = (a + b + c) / 2

0 commit comments

Comments
 (0)