Shape and Reshape

  • + 0 comments

    def reshape(arr): arr1 = numpy.array(arr) res = numpy.reshape(arr1,(3,3)) return res

    arr = list(map(int,input().split())) print(reshape(arr))