Tambahkan daftar ke ujung daftar python
list1.extend(list2)
Defiant Dove
list1.extend(list2)
>>>var=7
>>>array = [1,2,3,4,5,6]
>>>array.insert(0,var)
>>>array
[7, 1, 2, 3, 4, 5, 6]