You are viewing a single comment's thread. Return to all comments →
import numpy as np a=input().strip().split() n=int(a[0]) m=int(a[1]) p=int(a[2]) b=n+m arr=[] for _ in range(b): rows=list(map(int,input().strip().split())) arr.append(rows)
c=np.array(arr) print (c) 1.
Seems like cookies are disabled on this browser, please enable them to open this website
Concatenate
You are viewing a single comment's thread. Return to all comments →
Enter your code here. Read input from STDIN. Print output to STDOUT
import numpy as np a=input().strip().split() n=int(a[0]) m=int(a[1]) p=int(a[2]) b=n+m arr=[] for _ in range(b): rows=list(map(int,input().strip().split())) arr.append(rows)
c=np.array(arr) print (c) 1.