Result Size:
625 x 571
demo_list_append.py:
thislist = ["apple", "banana", "cherry"] thislist.append("orange") print(thislist)
x
thislist
=
[
"apple"
,
"banana"
,
"cherry"
]
thislist
.
append
(
"orange"
)
print
(
thislist
)
C:\Users\My Name>python demo_list_append.py
['apple', 'banana', 'cherry', 'orange']