6. A program of python that receives the lengths of the three sides of a triangle a, b and c. Find whether the triangle is equilateral, isosceles or scalene.
Answers
Answered by
3
Answer:
scalene triangle
Explanation:
A scalene triangle is a triangle that has three unequal sides.
Answered by
10
Answer:
print("Input lengths of the triangle sides: ")
x = int(input("x: "))
y = int(input("y: "))
z = int(input("z: "))
if x == y == z:
print("Equilateral triangle")
elif x==y or y==z or z==x:
print("isosceles triangle")
else:
print("Scalene triangle")
Explanation:
plz mark as brainlist answer
Similar questions