Add to Chrome
✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Mis on väljund?
nums = [0, 1, 2] x_tuple = (3, nums, 4) nums.append(5) print(x_tuple)
nums = [0, 1, 2]
x_tuple = (3, nums, 4)
nums.append(5)
print(x_tuple)
(3, [0, 1, 2], 5, 4)
IndexError
(3, [0, 1, 2], 4, 5)
(3, [0, 1, 2], 4)
(3, [0, 1, 2, 5], 4)
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!