Zeros and Ones

  • + 0 comments

    import numpy user_input = input().split() d =tuple(map(int,user_input)) print(numpy.zeros((d),dtype = 'int')) print(numpy.ones((d),dtype = 'int'))

    Here is the solution :)