demo_list_append.py:
thislist = ["apple", "banana", "cherry"] thislist.append("orange") print(thislist)
➜ begtut>python demo_list_append.py
['apple', 'banana', 'cherry', 'orange']