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