Shape and Reshape

  • + 0 comments
    import numpy
    array= numpy.array(list(map(int, input().split())))
    print(numpy.reshape(array, (3,3)))