demo_ref_list_append2.py:
a = ["apple", "banana", "cherry"] b = ["Ford", "BMW", "Volvo"] a.append(b) print(a)
➜ begtut>python demo_list_append2.py
['apple', 'banana', 'cherry', ["Ford", "BMW", "Volvo"]]