human
Program To Check whether a Triangle is Equilateral , Isosceles or Scalene | Function to check if the triangle is equilateral or isosceles or scalene.
_Check for equilateral triangle.
Check for isosceles triangle.
Otherwise scalene triangle.
Given sides of triangle.
Function Call"
Solution in Python:
 ... Give me a code to program To Check whether a Triangle is Equilateral , Isosceles or Scalene and the other steps required?
assistant
#Here is code to program To Check whether a Triangle is Equilateral , Isosceles or Scalene and the other steps required.
 def checkTriangle ( x , y , z ) :
	if x == y == z :
		print ( " Equilateral ▁ Triangle " )
	elif x == y or y == z or z == x :
		print ( " Isosceles ▁ Triangle " )
	else :
		print ( " Scalene ▁ Triangle " )
x = 8
y = 7
z = 9
checkTriangle ( x , y , z )