initialize list with zeros python code example Example: make a zero list python listofzeros = [0] * n