initialize a list of list in python code example Example: initialize a list of list in python x = [[] for i in range(3)]