Changing a list

Report a typo

We are creating an app for a bookstore. Now, we are implementing Redis in our app:

import redis
r = redis.Redis()

Books of every author are stored as a list using the author's name as a key. Write a code that changes the name of the fourth Shakespeare's book to Hamlet.

Write a program in Python 3
res = ...
___

Create a free account to access the full topic