demo_ref_list_append.py:
fruits = ["apple", "banana", "cherry"] fruits.append("orange") print(fruits)
C:\Users\My Name>python demo_list_append.py
['apple', 'banana', 'cherry', 'orange']