Getting the data

Report a typo

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

import redis
r = redis.Redis()

The number of books in stock is stored by the books_number key. Write a code that will return the number of books.

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

Create a free account to access the full topic