human
Find the type of triangle from the given sides | Function to find the type of triangle with the help of sides.
Driver Code.
Function Call"
Solution in Python:
 ... Give me a code to find the type of triangle from the given sides and the other steps required?
assistant
#Here is code to find the type of triangle from the given sides and the other steps required.
 def checkTypeOfTriangle ( a , b , c ) :
	sqa = pow ( a , 2 )
	sqb = pow ( b , 2 )
	sqc = pow ( c , 2 )
	if ( sqa == sqa + sqb or sqb == sqa + sqc or sqc == sqa + sqb ) :
		print ( " Right - angled ▁ Triangle " )
	elif ( sqa > sqc + sqb or sqb > sqa + sqc or sqc > sqa + sqb ) :
		print ( " Obtuse - angled ▁ Triangle " )
	else :
		print ( " Acute - angled ▁ Triangle " )
if __name__ == ' _ _ main _ _ ' :
	a = 2
	b = 2
	c = 2
	checkTypeOfTriangle ( a , b , c )