Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import random
- # Add some more titles in the list below - these will be added to your name later
- titles = ["The Great", "The Strange", "The Orange", "The Tiny", "The Brave", "The Shave", "The Green", "The MemeLord"]
- print("I'm going to give you your Viking Warrior Name!")
- name = input("What is your curent first name? ")
- titleCount = len(titles)
- # Fix the line below so it takes all of your titles into account
- # Don't forget that the list might change, so you need to use a variable for your upper limit
- # It might be a variable I've already set up for you...
- randomTitleNum = random.randint(0,9)
- # Now complete the program so that the name inputted above has a title
- # appended to it, such as "John The Strange", or "Gary The Brave"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement