Shape and Reshape

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