Advertisement
Guest User

Untitled

a guest
Mar 23rd, 2017
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.74 KB | None | 0 0
  1. import random
  2.  
  3. # Add some more titles in the list below - these will be added to your name later
  4. titles = ["The Great", "The Strange", "The Orange", "The Tiny", "The Brave", "The Shave", "The Green", "The MemeLord"]
  5.  
  6.  
  7. print("I'm going to give you your Viking Warrior Name!")
  8. name = input("What is your curent first name? ")
  9.  
  10. titleCount = len(titles)
  11.  
  12. # Fix the line below so it takes all of your titles into account
  13. # Don't forget that the list might change, so you need to use a variable for your upper limit
  14. # It might be a variable I've already set up for you...
  15. randomTitleNum = random.randint(0,9)
  16.  
  17.  
  18. # Now complete the program so that the name inputted above has a title
  19. # appended to it, such as "John The Strange", or "Gary The Brave"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement