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