Hackerrank Zeros and Ones Solution
Solution in python3
Approach 1.
import numpy
N = list(map(int, input().split()))
print(numpy.zeros(N, int))
print(numpy.ones(N, int))
Approach 2.
import numpy
size = tuple(map(int,input().strip().split()))
print( numpy.zeros(size, int) )
print( numpy.ones(size, int) )
Approach 3.
import numpy
N = [int(