Zeros and Ones

  • + 0 comments
    import numpy
    l = list(map(int,input().split()))
    a = numpy.zeros(l,dtype=int)
    b = numpy.ones(l,dtype=int)
    print(a)
    print(b)