Lesson 9 of 18 · about 16 minutes
Dictionaries and Sets 🗂️
Dictionaries and Sets 🗂️ A dictionary maps keys to values, like a real dictionary maps words to definitions. Lookups are instant regardless of size. user = {"name": "Ada", "age": 36, "langs": ["Python", "Rust"]} print(user["name"]) user["email"] =…
This lesson is part of Pythonaut Pro. The full Launchpad track is free forever, so you can start there and come back.