I found this code for a cool looking hangman game that I wanted to try and play. However, when I copied and pasted the code into python so that I could play, I kept receiving errors. I have fixed a few, but I don't know how to fix all of them, because I am not proficient in python programming. Here is the link to the code.

<https://github.com/MrT-Productions/CodeExamples/blob/master/Python/Reverse:Evil%20Hangman.py>

I fixed the errors to where it will work correctly until I guessed a wrong letter and I received this line:

```
You now have 6 guesses left to play with... Be wiser my friend!

```

Followed by this error:

```
File "C:", line 202, in <module>
    main()
File "C:", line 199, in main
    characterGuess(length, mainDict)
File "C:", line 81, in characterGuess
    print ("There are ", len(gameDict[gameDict.keys()[0]]),"words left")
TypeError: 'dict_keys' object does not support indexing

```

How can I fix this and possibly any other errors after this?