You are viewing a single comment's thread. Return to all comments →
import numpy as np
size = tuple(map(int, input().strip().split())) print(np.zeros(size, dtype=np.int16)) print(np.ones(size, dtype=np.int16))
Seems like cookies are disabled on this browser, please enable them to open this website
Zeros and Ones
You are viewing a single comment's thread. Return to all comments →
import numpy as np
size = tuple(map(int, input().strip().split())) print(np.zeros(size, dtype=np.int16)) print(np.ones(size, dtype=np.int16))