Post

Jimmy Fikes
Jimmy Fikes@akajim·
@PythonPr A. Insert zero at index 2 and keep all other items, so [5,6,0,7,8]
English
0
0
5
190
SoFi
SoFi@SoFi·
Proud to support investment opportunities. Access through SoFi:
English
59
113
1.4K
14.7M
Coding Computing Coach
Coding Computing Coach@CodingComputing·
@PythonPr Answer: A Solution: x.insert(2, 0) modifies x. It inserts the item 0 at index 2. What happens to the current items at index 2 and beyond in x? They get shifted to the right. So, x gets modified to [5, 6, 0, 7, 8] that's what is printed, hence Option A is correct.
English
0
0
2
268
Spencer
Spencer@va1the·
@PythonPr x.insert(index , element) So Answer is : A
English
0
0
2
104
Paylaş