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.