human
Find two numbers whose sum is N and does not contain any digit as K | Function to find two numbers whose sum is N and do not contain any digit as k.
Check every number i and ( n - i ).
Check if i and n - i doesn 't  contain k in them print i and n-i.
check if flag is 0 then print - 1.
Driver Code.
Given N and K.
Function Call"
Solution in Python:
 ... What is a code to find two numbers whose sum is N and does not contain any digit as K and the other steps required?
assistant
#Here is code to find two numbers whose sum is N and does not contain any digit as K and the other steps required.
 def findAandB ( n , k ) :
	flag = 0
	for i in range ( 1 , n ) :
		if str ( i ) . count ( chr ( k + 48 ) ) == 0 and str ( n - i ) . count ( chr ( k + 48 ) ) == 0 :
			print ( i , n - i )
			flag = 1
			break
	if ( flag == 0 ) :
		print ( - 1 )
if __name__ == ' _ _ main _ _ ' :
	N = 100
	K = 0
	findAandB ( N , K )