You are viewing a single comment's thread. Return to all comments →
Nice and simple:
import numpy as np shape = tuple(map(int, input().split())) print(np.zeros(shape, int), np.ones(shape, int), sep='\n')
Zeros and Ones
You are viewing a single comment's thread. Return to all comments →
Nice and simple: