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