Anything I can improve?
def main():
word = 'nedim'
hidden_word = list('_'*len(word))
wrong_guess, amount_of_letters, guesses, done = 0, 0, 4, False
while(wrong_guess != 5 and not done):
guess = raw_input("Guess a letter: ")
if len(guess) == 1 and guess.isalpha():
while(guess in hidden_word):
if guess in hidden_word:
print "Letter already exists!"
guess = raw_input('Try again: ')
for letter in word:
if letter == guess:
hidden_word[word.index(guess)] = guess
print ''.join(hidden_word)
if ''.join(hidden_word) == word:
print "\n ######## \n You won! \n ######## \n"
done = True
if guess not in word:
wrong_guess += 1
if(guesses-wrong_guess < 0):
print "You have no chances left. Loser!"
else:
print "You have ",guesses-wrong_guess," chances left."
else:
print "INVALID GUESS! \nRULES: \n\t > One guess at a time \n\t > Only english alphabet \n\t > Only Letters"
if __name__ == '__main__':
main()