I went and redid this module and was thoroughly frustrated with the logic of the lesson plan and the resulting code. Since we are in a range loop there is no messing with the iterator, and no turns that don't cost a turn. It's a for loop.
break in the first condition? That's as good as a
if statement is done. We no longer need an
What's interesting in the above code is that we knew to use
range() in the loop but yet we did not use it in the
if. Did something get mssed along the way?
if guess_row not in range(5) and guess_col not in range(5):
and now this is the next line. No
Think if through from this perspective, and if it passes, cool..