I'm writing a code that continuously asks the user to input movie titles to a list then prints the list but breaks when the user types in "done" and i can't figure out how to keep asking the user for inputs and still prints all the titles after
movie_list = []
while True:
title = input("Add movie title or type done if finished: ")
if title == "done":
break
movie_list.append(title)
print(movie_list)