Changing an item in a tuple
Predict the output · Medium · §3.6 Tuples
Predict the output without running the code.
Code
info = ("Daejeon", 2028)
print(info[1])
info[0] = "Jeju"
print(info)Solve this problem in your browser
Python runs in your browser and checks your answer right away. Hints and the answer are on the problem page.