python why is it creating an empty list? code example Example: empty list in python # Python program to declare # empty list # list is declared a = []