human
Program to check if three points are collinear | function to check if point collinear or not.
Driver Code"
Solution in Python:

=====
Can you provide a code to program to check if three points are collinear and the other steps required?
assistant
#Here is code to program to check if three points are collinear and the other steps required.
 def collinear ( x1 , y1 , x2 , y2 , x3 , y3 ) :
	if ( ( y3 - y2 ) * ( x2 - x1 ) == ( y2 - y1 ) * ( x3 - x2 ) ) :
		print ( " Yes " )
	else :
		print ( " No " )
x1 , x2 , x3 , y1 , y2 , y3 = 1 , 1 , 0 , 1 , 6 , 9
collinear ( x1 , y1 , x2 , y2 , x3 , y3 ) ;