Lab 6


We’ve now learned how to use strings and lists to store different types of real-world data. This week, you will learn how to use multiple data structures together to process text files. Specifically, you will be using dictionaries and lists to store information. Deciding when and how to use these data structures will be the lab’s main focus.


  • Learn to identify the optimal data structure (i.e., list or dictionary) for a given problem
  • Practice working with text files
  • Continue to practice for loops
  • Continue to practice writing large programs