Concatenate

  • + 0 comments

    import numpy as np r1,r2,c =map(int,input().split()) lt=[] for i in range(r1): l =list(map(int,input().split())) lt.append(l) ll=[] for m in range(r2): l2 =list(map(int,input().split())) ll.append(l2) lt1=np.array(lt,dtype=int) ll1=np.array(ll,dtype=int)

    print (np.concatenate((lt1, ll1)) )