Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scissors - Maria M. #62

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

maria-im015
Copy link

No description provided.

Copy link

@jmaddox19 jmaddox19 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work! Just a few comments below

@@ -1,7 +1,7 @@
import pytest
from viewing_party.main import *


"""

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm curious why you have these tests commented out. They seem to pass when I uncomment them

watched_list = user_data["watched"]
for movie in watched_list:
for movie_val in movie.values():
if type(movie_val) == float:

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm curious why this line was added. It seems like it might be more appropriate for the function to add numbers even if they aren't float type.

for movie_dict in user_watched_list:
for movie, movie_title in movie_dict.items():
user_titles.append(movie_title)
print(user_titles)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Its generally best to remove print statements like this that aren't required before committing and/or submitting

print(u_unique_dict_list)
return u_unique_dict_list

def find_user_diff(unique_list, comp_list):

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Love that you made your own custom helper function!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants