Skip to content

Instantly share code, notes, and snippets.

@KalebNyquist
Created September 16, 2019 18:00
Show Gist options
  • Save KalebNyquist/707457c0468bb37917a34a56ce36800c to your computer and use it in GitHub Desktop.
Save KalebNyquist/707457c0468bb37917a34a56ce36800c to your computer and use it in GitHub Desktop.
Medium Post Step 5
author_dict = create_author_dict()
for author in article.authors:
if author in list(author_dict.keys()):
print("Author already exists")
else:
print(add_new_author(author))
author_dict = create_author_dict()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment