Zeros and Ones

  • + 0 comments
    import sys, numpy
    
    size = ([int(digit) for digit in sys.stdin.read().replace(' ', '')])
    
    print(numpy.zeros(size, int), numpy.ones(size, int), sep='\n')