Shape and Reshape

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