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