1print("Input lengths of the triangle sides: ")
2x = int(input("x: "))
3y = int(input("y: "))
4z = int(input("z: "))
5
6if x == y == z:
7 print("Equilateral triangle")
8elif x==y or y==z or z==x:
9 print("isosceles triangle")
10else:
11 print("Scalene triangle")
1print("Input lengths of the triangle sides: ")
2x = int(input("x: "))
3y = int(input("y: "))
4z = int(input("z: "))
5
6if x == y == z:
7 print("Equilateral triangle")
8elif x==y or y==z or z==x:
9 print("isosceles triangle")
10else:
11 print("Scalene triangle")
12
13