Zeros and Ones

  • + 0 comments

    import numpy as np

    M = list(map(int, input().split()))

    print(np.zeros(M, dtype=int)) print(np.ones(M, dtype=int))