Dictionaries · exercise 1 of 1 · free preview
The game so far · chapter 7
Right now: The machines on the island are silent.
This chapter's mission: Gives the machines something to say. Work through the exercises, then your own code brings it to life.
A dictionary stores values under keys: stats = {"hp": 20}. Look a value up with stats["hp"].
Print Pip's hp from the dictionary.