how to create a list of lists of 0s python code example Example: python initialise list of lists # initialise a list of n lists n = 3 x = [[] for i in range(n)]