Skip to content

Oct 16: Counting with a Dictionary

Meet in King 248

Learning Objectives

After today's class, you should be able to:

  • Create a dictionary of strings and look up values by key.
  • Check whether a key is present before retrieving its value.
  • Use a loop to tally how many times each character appears.