Module 6 Summary

Thomas J. Kennedy

Contents:

Having completed the Collections - Lists, Tuples, and Dictionaries module (i.e., Module 8) you should now be comfortable:

1 Questions to Consider

Take a few minutes to think about the following:

  1. When is it appropriate to use a tuple over a list?

  2. How can sort be used with custom comparison criteria?

  3. When should a generator expression be used of a list?

  4. When should a dictionary be used instead of a list?

2 On to the Next Module…

The next module (i.e., File IO, Context Managers, and Exceptions) will cover tricks for working with files and the types of Exceptions that can occur.