Use the function design recipe to develop a function named
remove_book. The function has
three input parameters, (1) the dictionary from where the book must
be removed, (2) the title of
the book and (3) the category. The function returns the updated
dictionary and prints a message stating, “The book has been
removed correctly” or “There was an error
removing the book. Book not found.”
The referenced dictionary is an external file called
google_books_dataset.csv
Use the function design recipe to develop a function named remove_book. The function has three input parameters, (1) the
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am