Welcome Guest.

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 April 3, 2019

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):"))

1 Answers

  1. +5Votes  

    Reference 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 |