You are viewing a single comment's thread. Return to all comments →
import numpy
a= list(map(int, input().split()))
print(numpy.zeros(a, dtype = numpy.int)) print(numpy.ones(a, dtype = numpy.int))
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
a= list(map(int, input().split()))
print(numpy.zeros(a, dtype = numpy.int)) print(numpy.ones(a, dtype = numpy.int))