Сardinality of a set

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 set using the author's name as a key. Write a code allowing you to save the number of books of Jack London.

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

Create a free account to access the full topic