Challenge #3
Lesson 12 of 14 in Coddy's Dictionary in Python course.
Challenge
EasyCreate a function named update_availability that allows you to update the availability status of a book in a library catalog. The function should take the library catalog, a title, and a new availability status as input parameters and update the availability status of the specified book in the catalog.
Try it yourself
def update_availability(catalog, title, new_availability):
# Your code here