human
Check if given two straight lines are identical or not | Function to check if they are identical.
Driver Code"
How can the above be solved in Python?
 ... Give me a code to check if given two straight lines are identical or not and the other steps required?
assistant
#Here is code to check if given two straight lines are identical or not and the other steps required.
 def idstrt ( a1 , b1 , c1 , a2 , b2 , c2 ) :
	if ( ( a1 // a2 == b1 // b2 ) and ( a1 // a2 == c1 // c2 ) and ( b1 // b2 == c1 // c2 ) ) :
		print ( " The ▁ given ▁ straight ▁ lines " , " are ▁ identical " ) ;
	else :
		print ( " The ▁ given ▁ straight ▁ lines " , " are ▁ not ▁ identical " ) ;
a1 , b1 = - 2 , 4
c1 , a2 = 3 , - 6
b2 , c2 = 12 , 9
idstrt ( a1 , b1 , c1 , a2 , b2 , c2 )