i want to recommend movie
withPinkkkyy

if user input genre/type of movie they will show title of movie and rating
i want to know how to write
i'm doing if they input genre that same in list_in(genre of movie) they will collect in the same list(genre[])

You are viewing a single comment. View All
PhilLongden

A simple loop to tidy this up:
for a in list_in:
if n == a:
genre.append(a)

this helps remove all of the elif statements that are making a mess :)

withPinkkkyy