python calculate scalene triangle

Solutions on MaxInterview for python calculate scalene triangle by the best coders in the world

showing results for - "python calculate scalene triangle"
Helena
28 Jan 2017
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