Python 3.13.6 (tags/v3.13.6:4e66535, Aug 6 2025, 14:36:00) [MSC v.1944 64 bit (AMD64)] on win32 Enter "help" below or click "Help" above for more information. list_1 = [0,10,20,30,40,50,60,70,80,90] list_1 [0, 10, 20, 30, 40, 50, 60, 70, 80, 90] [3:1:-1] SyntaxError: invalid syntax list_1[3:1:-1] [30, 20] list_1[5:8] [50, 60, 70] list_1[3:1:-1]=[61,62,63] Traceback (most recent call last): File "", line 1, in list_1[3:1:-1]=[61,62,63] ValueError: attempt to assign sequence of size 3 to extended slice of size 2 list_1[3:1:-1]=[61] Traceback (most recent call last): File "", line 1, in list_1[3:1:-1]=[61] ValueError: attempt to assign sequence of size 1 to extended slice of size 2 list_1[3:1:-1]=61,62 list_1 [0, 10, 62, 61, 40, 50, 60, 70, 80, 90] a,b=1,2 a 1 b 2 list_1[10]=3 Traceback (most recent call last): File "", line 1, in list_1[10]=3 IndexError: list assignment index out of range >>> list_1.append(110,100,110,100) Traceback (most recent call last): File "", line 1, in list_1.append(110,100,110,100) TypeError: list.append() takes exactly one argument (4 given) >>> list_1.append([110,100,110,100]) >>> list_1 [0, 10, 62, 61, 40, 50, 60, 70, 80, 90, [110, 100, 110, 100]] >>> list_1.extend([110,100,110,100]) >>> list_1 [0, 10, 62, 61, 40, 50, 60, 70, 80, 90, [110, 100, 110, 100], 110, 100, 110, 100] >>> len(list_1) 15 >>> list_1.insert(len(list_insert),555) Traceback (most recent call last): File "", line 1, in list_1.insert(len(list_insert),555) NameError: name 'list_insert' is not defined >>> list_1.insert(len(list_insert),555) Traceback (most recent call last): File "", line 1, in list_1.insert(len(list_insert),555) NameError: name 'list_insert' is not defined >>> list_1.insert(len(list_1),555) >>> list_1 [0, 10, 62, 61, 40, 50, 60, 70, 80, 90, [110, 100, 110, 100], 110, 100, 110, 100, 555]