Python Write Program Contains Array Array Contain Titles Favorite Books Games Shows Movies Q37284897

IN PYTHON

  1. 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)

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.