# WE CAN USE NUMPY FOR THIS
import numpy as np
np.zeros(5) # Creates an array [0., 0., 0., 0., 0.]
# For integer array of zeros
np.zeros((5,), dtype=int) # Creates array [0, 0, 0, 0, 0]
[ [0]*M for _ in range(N) ] #for N by M shape
np.zeros((2, 1))
array([[ 0.],
[ 0.]])