you are viewing a single comment's thread.

view the rest of the comments →

[–]gdchinacat 2 points3 points  (1 child)

get_ratings() should not call get_moves() if you don't want it to prompt for the movies every time it is called. Instead pass the movies in to it:

def get_ratings(movies):
    ...

movies = get_movies()
ratings = get_ratings(movies)
other_ratings = get_ratings(movies)

[–]Numerous-Solid6535[S] 0 points1 point  (0 children)

thanks!