Concordance

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.

Goals
  • 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
README

Honor Code Reminders:

  • Discussing high-level ideas with other students is encouraged, but only show your actual code to course staff (professors/lab helpers/tutors). The only exception is the warmup, which is to be completed in pairs.
  • Consulting online resources other than assigned reading or documentation provided by the lab instructions is prohibited. Course staff will be happy to answer any questions you have.
  • Use of generative AI for any reason is not allowed. This includes for both writing code and for debugging or reformatting code you wrote.