Sets · exercise 1 of 1 · free preview
The game so far · chapter 8
Right now: Pip has scrap, but no way to tell if a recipe is complete.
This chapter's mission: Lets Pip craft from its scrap. Work through the exercises, then your own code brings it to life.
A set keeps unique items, with no order: parts = {"wrench", "cable"}. Curly brackets, like a dictionary without values.
Create parts as a set with wrench and cable, then print whether "chip" is in it.