Challenge: Movie Ratings List
Task
Swipe to start coding
Create a program that manages a list of movies and their ratings using two separate lists. You will use lists to store the titles of movies and their corresponding ratings. This challenge will help you practice adding items to lists and displaying their contents.
- Add the provided
movieandratingto themoviesandratingslists in theAddMoviefunction. - In the
PrintMoviesWithRatingsfunction, print each movie title from themovieslist along with its corresponding rating from theratingslist.
Solution
Everything was clear?
Thanks for your feedback!
SectionΒ 1. ChapterΒ 3
single
Ask AI
Ask AI
Ask anything or try one of the suggested questions to begin our chat
Awesome!
Completion rate improved to 4.76
Challenge: Movie Ratings List
Swipe to show menu
Task
Swipe to start coding
Create a program that manages a list of movies and their ratings using two separate lists. You will use lists to store the titles of movies and their corresponding ratings. This challenge will help you practice adding items to lists and displaying their contents.
- Add the provided
movieandratingto themoviesandratingslists in theAddMoviefunction. - In the
PrintMoviesWithRatingsfunction, print each movie title from themovieslist along with its corresponding rating from theratingslist.
Solution
Everything was clear?
Thanks for your feedback!
SectionΒ 1. ChapterΒ 3
single