Shape and Reshape

  • + 0 comments

    import numpy

    inp=list(map(int,input().split())) change_array=numpy.array(inp) change_array.shape=(3,3) print(change_array)