DEV Community

Devon Gilson
Devon Gilson

Posted on

1

Movie Recommendation in Terminal (With Python)

Hello,
I've created a Movie recommendation program that allows you to search for movies by typing the first letter of the genre you wish to enter. The movie data is stored in a dictionary which holds the genres as keys, and the movies as values. I then created a few loops that will go over the user's input with the goal of returning the user with a first a list of genres then a list of movies from the selected genre. Next is more_recommendations function to allow for multiple uses of the program. Followed by the present_recommendations function to neatly show the list of movie recommendations. I enjoyed creating this program, I'm looking forward to learning more complex data structures/algorithms that I could use with same data.

Image description

Image description

Here is a link to my Github repository:
https://github.com/dgilson74/MovieRecommender/tree/main

Heroku

Built for developers, by developers.

Whether you're building a simple prototype or a business-critical product, Heroku's fully-managed platform gives you the simplest path to delivering apps quickly — using the tools and languages you already love!

Learn More

Top comments (0)