Logo

Topics in the Program

  • 1. Setting up your Environment
  • 2. Basic Python
  • 3. Booleans and Recursion
  • 4. Sequences and Iteration
  • 5. Basic Text Handling
  • 6. Exception Handling
  • 7. Unit Testing
  • 8. Dictionaries and Sets
    • Dictionaries and Sets
    • Using a Dictionary to switch
    • Dictionary and Set Lab
    • Mailroom With Dicts
  • 9. File Handling
  • 10. Modules and Packages
  • 11. Advanced Argument Passing
  • 12. Comprehensions
  • 13. Intro to Object Oriented Programing
  • 14. Properties and Magic Methods
  • 15. Subclassing and Inheritance
  • 16. Multiple Inheritance
  • 17. Introduction to Functional Programming
  • 18. Advanced Testing
  • 19. Extra Topics
Programming in Python
  • »
  • 8. Dictionaries and Sets
  • View page source
Previous Next

8. Dictionaries and Sets

To Read

  • Dictionaries and Sets
  • Using a Dictionary to switch

Activities

  • Dictionary and Set Lab

Exercises

  • Mailroom With Dicts
Previous Next

© Copyright 2020, University of Washington, Natasha Aleksandrova, Christopher Barker, Brian Dorsey, Cris Ewing, Christy Heaton, Jon Jacky, Maria McKinley, Andy Miles, Rick Riehle, Joseph Schilz, Joseph Sheedy, Hosung Song. Creative Commons Attribution-ShareAlike 4.0 license.

Built with Sphinx using a theme provided by Read the Docs.