Printing the content

Report a typo

Print the content of the persistent dictionary below in the following format: key: value.

Write a program in Python 3
lib = shelve.open("my_library")
lib["Twilight Saga"] = ["Twilight", "New Moon", "Eclipse", "Breaking Dawn"]

# write your code here


lib.close()
___

Create a free account to access the full topic