append true to list python code example Example: empty list in python # Python program to declare # empty list # list is declared a = []