1Answers

# Calculate the Helen triangle area formula in Python, and the latter two parts will appear without this command or can not be calculated.

Asked by: Carolyn 205 views IT

x1=input("x1:")

x2=input("x2:")

x3=input("x3:")

dis=(0.5(x1+x2+x3))

s=eavl(input("(x4(x4-x1)(x4-x2)(x4-x3 ))*0.5):"))

+5

VotesReference opinion:

The second last step is to calculate the semi-perimeter, that is, divide the circumference by 2, or multiply the circumference by 0.5

, the statement is: dis =(0.5(x1+x2+x3)), should there be a multiplication operator “*” between 0.5 and the following perimeter?

The last sentence is also the same, both are missing the multiplication sign

Stephanie Smith- April 3, 2019 |