#   
import numpy as np
x=np.ones((5,5),dtype=float)
print("The original array is: ")
print(x)
print("The array 1 on border 0 inside is: ")
x[1:-1,1:-1]=0
print(x)

7532c062f3a985b59631888c298308cc32e1d97b
<mask token>

<mask token>
print('The original array is: ')
print(x)
print('The array 1 on border 0 inside is: ')
<mask token>
print(x)

<mask token>
x = np.ones((5, 5), dtype=float)
print('The original array is: ')
print(x)
print('The array 1 on border 0 inside is: ')
x[1:-1, 1:-1] = 0
print(x)

import numpy as np
x = np.ones((5, 5), dtype=float)
print('The original array is: ')
print(x)
print('The array 1 on border 0 inside is: ')
x[1:-1, 1:-1] = 0
print(x)

#   
import numpy as np
x=np.ones((5,5),dtype=float)
print("The original array is: ")
print(x)
print("The array 1 on border 0 inside is: ")
x[1:-1,1:-1]=0
print(x)
