import random
name = raw_input("Write your name:")
print "Hello",name,"you're about to play Hangman."
print "Everything you get a wrong guess, you will get a {}, if the word were Nicky you'd get 5 tries."
raw_input("Press [[ENTER]]")
words = ["bat","girl","epic","blocks","block","chips","boy","fire","fox","school","community"]
wordnum = random.randrange(1,11,1)
hangword = words[wordnum]
a = len(hangword)
print "The word has",a,"letters"
raw_input("Press [[ENTER]]")
guess = raw_input("Take your guess at a letter in the word:")
It's for a hangman game.