154k views
3 votes
What is the missing line of code?

>>> books = {294: 'War and Peace', 931:'Heidi', 731:'Flicka'}
>>> _____
dict_keys([294, 931, 731])

books.keys()
books.values()
books
books.all()

User Kyri Elia
by
8.3k points

1 Answer

7 votes

Answer:

books.keys()

Step-by-step explanation:

The missing line of code to print the keys of the dictionary "books" is: books.keys()

User HexBlit
by
7.9k points