Shape and Reshape

  • + 0 comments

    For Python3 Platform

    import numpy
    
    arr = numpy.array(list(map(int, input().split())))
    
    print(numpy.reshape(arr, (3, 3)))