Thank you.  It seems I didn't understand logic statements as much as I
thought I did!

The one remaining question I have deals with this:

if gameboard[cell] not in 'OX':
        gameboard[cell] = 'O'
     else:
        print "This cell is already filled."
        turnnumber -= 1

(gameboard[cell] not in 'OX' is the gameboard[cell] != 'OX' text I sort
of used in my code, right?)

I am confused about "OX":  what exactly *is* it?  After that, I plan to
rewrite all the code... :)

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to