Advertisement
Guest User

Untitled

a guest
Jul 22nd, 2018
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.54 KB | None | 0 0
  1. # PROJECT FILE
  2. # Movie serch engine
  3.  
  4.  
  5. print ("Welcome to OMDb")
  6.  
  7. movie_choice = raw_input("Would you like to serch your movie by ID or\
  8. by title? ").upper()  # Triggers user choice to pick movie. By title or ID
  9.  
  10.  
  11. if movie_choice == "ID":
  12.     id = raw_input("Enter imdb ID: ")
  13.     print("Serching . . . ")
  14. #elif movie_choice != "ID":
  15. #    print("Print enter a valid choice")
  16.  
  17. elif movie_choice == "TITLE":
  18.     title = raw_input("Enter movie title: ")
  19.     print ("Serching . . .")
  20. else:
  21.     print ("Please enter a valid choice")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement