Just also wondering how I would go about Adding the last displayed movie from a list to a new list. so for e.g
If the last movie shown on output was
pulp fiction
How would I add this to a list
Would it have something to do with .append ?
This kinda sums up what I am trying to do...
If the last movie shown on output was
pulp fiction
How would I add this to a list
Would it have something to do with .append ?
This kinda sums up what I am trying to do...
selection = input("Please Select:") if selection =='sw': listb = movies_list letter = str(input("Search title starting with the letter: ")) for movie in movies_list: if movie.startswith(letter): print(movie) else: print("Unknown Command") menu() selection = input("Please Select:") if selection =='k': favlist = list.append(listb) print (favlist)