Computer Science, asked by palak1563, 9 months ago


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 palakgupta2395
3

Answer:

scalene triangle

Explanation:

A scalene triangle is a triangle that has three unequal sides.

Answered by seemamishra93815
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