Tuple items and variable names

Predict the output · Basic · §3.6 Tuples

Predict the two lines of output without running the code.

Code

info = ("Daejeon", 2028)
city, year = info
city = "Jeju"
print(info[0])
print(f"{city}_{year}")

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.