''' DS2000 Spring 2023 Sample code from class - make a recommendation from TVShows Start with: a bunch of shows * For each show, we know... - how new it is (1-10) - popularity (1-10) - length of episode (# mins) - individual rating (1-10) * Ask the user for a show they've recently watched * Recommend shows with similar newness, populatiy, length, and that are liked by someone TODAY: Ask the user NEXT WEEK: the list of shows, make recommendations ''' from tvshow import TVShow def main(): # Gather data = ask the user about a show they've watched title = input("What show?\n") length = int(input("How long is an episode?\n")) pop = int(input("How popular?\n")) rating = int(input("What is your rating?\n")) # Make a TVShow object show = TVShow(title, rating = rating, pop = pop, length = length) main()