Data Structures This chapter describes some things you’ve learned about already in more detail, and adds some new things as well ... The keys() method of a dictionary object returns a list of all the keys used in the dictionary, in arbitrary order (if you