human
Find N digits number which is divisible by D | Function to return N digits number which is divisible by D.
to store answer.
Driver code"
Solution in Python:

Can you provide a code to find N digits number which is divisible by D and the other steps required?
assistant
#Here is code to find N digits number which is divisible by D and the other steps required.
 def findNumber ( n , d ) :
	ans = " "
	if ( d != 10 ) :
		ans += str ( d )
		for i in range ( 1 , n ) :
			ans += '0'
	else :
		if ( n == 1 ) :
			ans += " Impossible "
		else :
			ans += '1'
			for i in range ( 1 , n ) :
				ans += '0'
	return ans
if __name__ == " _ _ main _ _ " :
	n = 12
	d = 3
	print ( findNumber ( n , d ) )