May-06-2017, 12:00 AM
Hey everybody really appreciate the help lately however I am stuck on something that might be rather simple and I am missing the point.
I need to print all items that contain a user defined keyword from a list
I can get it to print where the index locations are just not the actual titles
I need to print all items that contain a user defined keyword from a list
I can get it to print where the index locations are just not the actual titles
selection = input("Please Select:") if selection =='s': list = movies_list string = str(input("Search keyword: ")) print (string) if any(string in s for s in list): print ("Yes") else: print("Not found")