| aList ``= [``1``,``2``,``3``] bList ``= [``'www'``, ``'pythontab.com'``] cList ``= aList ``+ bList dList ``= bList ``+ aList print``(cList) print``(dList) | |
| [1, 2, 3, ``'www'``, ``'pythontab.com'``] [``'www'``, ``'pythontab.com'``, 1, 2, 3] | |
| aList ``= [``1``,``2``,``3``] bList ``= [``'www'``, ``'pythontab.com'``] aList.extend(bList) print``(aList) | |
| [1, 2, 3, ``'www'``, ``'pythontab.com'``] | |
| aList ``= [``1``,``2``,``3``] bList ``= [``'www'``, ``'pythontab.com'``] aList[``len``(aList):``len``(aList)] ``= bList print``(aList) | |
| [1, 2, 3, ``'www'``, ``'pythontab.com'``] | |
| aList ``= [``1``,``2``,``3``] bList ``= [``'www'``, ``'pythontab.com'``] aList[``1``:``1``] ``= bList print``(aList) | |
| [1, ``'www'``, ``'pythontab.com'``, 2, 3] | |
| aList ``= [``1``,``2``,``3``] bList ``= [``'www'``, ``'pythontab.com'``] aList.append(bList) print``(aList) | |
| [1, 2, 3, [``'www'``, ``'pythontab.com'``]] | |