Shape and Reshape

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