0
why there is problem with N
def solution(N,A,M,B,X): N=int(input("enter the array element")) A=[] n=0 for e in input().split(): if(n<N): A.append(int (e)) n+=1 M=int(input()) n=0 B=[] for e in input().split(): if(n<M): B.append(int (e)) n+=1 X=int(input()) print(solution(N,A,M,B,X),end='')
1 ответ