Chapter 8: Problem 1
What will the following code display? \\[\begin{array}{l}\text { numbers }=[1,2,3,4,5] \\ \text { numbers }[2]=99\end{array}\\] print (numbers)
Short Answer
Expert verified
Solution:
The output will be the updated list, which is [1, 2, 99, 4, 5].