Created
July 2, 2022 19:56
-
-
Save daniel-schroeder-dev/210660cec3d7a1fb0092033e26c43bd2 to your computer and use it in GitHub Desktop.
P12 - Lesson 12 - Exercise 3 Step 2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def save_search_results(search_term, artworks, books, articles, username): | |
| ... | |
| if ___.get(___) is None: | |
| ... | |
| # Add the search_term key to the username dict on the | |
| # the search_results dict | |
| search_results[username][search_term] = { | |
| "artworks": ___, | |
| "books": ___, | |
| "articles": ___, | |
| } | |
| # Make sure this is at the end of the function now | |
| print(search_results) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment