Shape and Reshape

  • + 0 comments

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