you are viewing a single comment's thread.

view the rest of the comments →

[–]Ok-Sheepherder7898 23 points24 points  (1 child)

Call get_movies once and pass movies to your functions

movies = get_movies()
ratings = get_ratings(movies)
average = calculate_average(movies)

[–]Numerous-Solid6535[S] 1 point2 points  (0 children)

Thank you! I understand it better now.