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