Computer Science, asked by khanmahira, 6 months ago

Consider the following program for the next two questions. It is supposed to compute the hypotem
of a right triangle after the user enters the lengths of the other two sides.
a> float(input("Enter the length of the first side:"))
b> float(input("Enter the length of the second side: "))
no sort(a* abb)
print("The length of the hypotenuse is", h)
12. When this program is run the following output is generated (note that input entered by the use
shown in bold)
Enter the length of the first side: 3
Enter the length of the second side: 4
Traceback (most recent call last):
h - sqrt(a a + b = b).
NameError: name 'sart' is not defined
T” Tn​

Answers

Answered by vijayghore
1

Answer:

yeah it will throw an error message. it wont execute.

Explanation:

Similar questions