diff --git a/1_numpy_matplotlib_scipy_sympy/2.1.text b/1_numpy_matplotlib_scipy_sympy/2.1.text new file mode 100644 index 0000000000000000000000000000000000000000..fe365a8e8bb2e3ca978df31e86467c674c9d5185 --- /dev/null +++ b/1_numpy_matplotlib_scipy_sympy/2.1.text @@ -0,0 +1,4 @@ +import numpy as np +Z = np.array([[10, 34, 54, 23],[31, 87, 53, 68],[98, 49, 25, 11],[84, 32, 67, 88]]) +Z = np.pad(Z, pad_width=1, mode='constant', constant_values=0) +print(Z)