Skip to content
Quiz · Dicts and sets · lesson 5 of 11

Quiz — a list as a key

What happens when this program runs?

Python
names = {}
point = [1, 2]
print("start")
names[point] = "A"
print(names)

Subscribe to take the course

The course is free. Sign in with Telegram and subscribe to the channel to open every lesson.

Sign in another way