Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # PROJECT FILE
- # Movie serch engine
- print ("Welcome to OMDb")
- movie_choice = raw_input("Would you like to serch your movie by ID or\
- by title? ").upper() # Triggers user choice to pick movie. By title or ID
- if movie_choice == "ID":
- id = raw_input("Enter imdb ID: ")
- print("Serching . . . ")
- #elif movie_choice != "ID":
- # print("Print enter a valid choice")
- elif movie_choice == "TITLE":
- title = raw_input("Enter movie title: ")
- print ("Serching . . .")
- else:
- print ("Please enter a valid choice")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement