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