Create NumPy array with pattern II

Create a NumPy array with the given shape. The first column should contain only 0s, the second only 1s, the third only 2s, an so on...
Hint: You could use a for-loop and the function np.full()
import numpy as np shape = (5,5) # start coding here...
a =
print(a) # expected output: # [ # [0. 1. 2. 3. 4.], # [0. 1. 2. 3. 4.], # [0. 1. 2. 3. 4.], # [0. 1. 2. 3. 4.], # [0. 1. 2. 3. 4.] #]
Python
Setting up Python environment...
Output