human
Write me a code to source to destination in 2 and the other steps required given the following:
Source to destination in 2 | Function that returns true if it is possible to move from source to the destination with the given moves.
Driver code"
Solution in Python:
assistant
#Here is code to source to destination in 2 and the other steps required.
 def isPossible ( Sx , Sy , Dx , Dy , x , y ) :
	if ( abs ( Sx - Dx ) % x == 0 and abs ( Sy - Dy ) % y == 0 and ( abs ( Sx - Dx ) / x ) % 2 == ( abs ( Sy - Dy ) / y ) % 2 ) :
		return True ;
	return False ;
Sx = 0 ;
Sy = 0 ;
Dx = 0 ;
Dy = 0 ;
x = 3 ;
y = 4 ;
if ( isPossible ( Sx , Sy , Dx , Dy , x , y ) ) :
	print ( " Yes " ) ;
else :
	print ( " No " ) ;