IN PYTHON
- Write a program that contains an array. The array will containthe titles of your favorite books, games, shows, or movies. You maymake it as large as you desire, but only enter the titles throughuser input.
Sample output:“Dragon Wing”, “Doom Patrol”, “Pokemon”, “Star Wars”
Answer
titles = []while(True): t = input(“Enter title(e to exit): “) if(t==”e”): break titles.append(t)for x in titles: print(x)