Page 50 - Programming the Raspberry Pi Getting Started with Python
P. 50

The game as it stands has a few limitations. First, it is case sensitive, so you have to enter your
          guesses in lowercase, the same as the words in the words  array. Second, if you accidentally type aa
          instead  of a as a guess, it will treat this as a whole-word guess, even though it is too short to be the
          whole  word. The game should probably spot this and only consider guesses the same length as the
          secret word to be whole-word guesses.
             As  an  exercise,  you  might  like  to  try  and  correct  these  problems. Hint:  For  the  case-sensitivity
   45   46   47   48   49   50   51   52   53   54   55