Question: Python Data Organization Project: Movie Recommender System Project Description: This project will allow you to practice your Python skills by building a simple movie recommender
Python Data Organization Project:
Movie Recommender System
Project Description:
This project will allow you to practice your Python skills by building a simple movie recommender system.
Functionality:
Movie Data:
Create a dictionary to store movie information. Each key in the dictionary will be a unique movie title string and the value will be another dictionary containing details about that movie.
The inner dictionary can include keys like:
Genres list of strings
Year integer
Run Time integer
Rating float
Actors list of strings
Recommendations:
o Prompt the user to enter their favorite genre string
o Check if the entered genre exists in your movie data dictionary.
o If the genre exists, iterate through your movie data and create a new list to store movie titles that match the user's preferred genre.
o If no matching genre is found, display a message informing the user.
o Display a personalized recommendation message like: "Based on your love for genre here are some movies you might enjoy: list of recommended movies
Find a Movie:
Allow the user to search for a specific movie by title. It must be able to retrieve all titles that contain a specific wordsubstring
If a movie is found, display details like director, year, and actors using string formatting.
Implement a loop to allow the user to search for multiple movies or exit the program.
Filter:
Allow the user to filter the movie database based on the rating or year. It must be able to retrieve all titles with the specific rating or year.
Print all movie titles, years, and ratings that match the filter.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
