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