human
First collision point of two series | Function to calculate the colliding point of two series.
Iterating through n terms of the first series.
x is i - th term of first series.
d is first element of second series and c is common difference for second series ..
If no term of first series is found.
Driver code"
How can the above be solved in Python?

What is a code to first collision point of two series and the other steps required?
assistant
#Here is code to first collision point of two series and the other steps required.
 def point ( a , b , c , d , n ) :
	for i in range ( n ) :
		x = b + i * a
		if ( x - d ) % c == 0 and x - d >= 0 :
			print x
			return
	else :
		print " No ▁ collision ▁ point "
a = 20
b = 2
c = 9
d = 19
n = 20
point ( a , b , c , d , n )