Секція 1. Розділ 3
single
Challenge: Movie Ratings List
Свайпніть щоб показати меню
Завдання
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.
Рішення
Все було зрозуміло?
Дякуємо за ваш відгук!
Секція 1. Розділ 3
single
Запитати АІ
Запитати АІ
Запитайте про що завгодно або спробуйте одне із запропонованих запитань, щоб почати наш чат