In the solution for runner.py runner.consecutive_wins is not defined and it should be reset if a wrong answer is given. Furthermore, I get a NameError if I type 'y' to continue playing so I would suggest using raw_input() in both the excercise and the solution.