Advertisement
Guest User

Untitled

a guest
Apr 23rd, 2014
34
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. def bondMovies (message, movieList):
  2. print (message)
  3. for title in movieList:
  4. print(title)
  5. print ()
  6.  
  7. def searchForActor(name):
  8. actorToFind = input ("What do you want to search for?")
  9. actorToFind = actorToFind.strip()
  10. while actorToFind != "":
  11. print("Found your actor!")
  12. else:
  13. print("Sorry, not found")
  14. actorToFind = input("what do you want to search for?")
  15. actorToFind = actorToFind.strip()
  16.  
  17.  
  18. def main ():
  19. movieActors = []
  20. movieActors.append("Amy Adams")
  21. movieActors.append("Johnny Depp")
  22. movieActors.append("Brad Pitt")
  23. movieActors.append("Scarlett Johansson")
  24. movieActors.append("Megan Fox")
  25. movieActors.append("Daniel Craig")
  26. main()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement