Returns True if the space on the board is a valid space number and the space is blank.
(board, space)
| 63 | board['7'], board['8'], board['9']) |
| 64 | |
| 65 | def isValidSpace(board, space): |
| 66 | """Returns True if the space on the board is a valid space number |
| 67 | and the space is blank.""" |
| 68 | return space in ALL_SPACES and board[space] == BLANK |
| 69 | |
| 70 | |
| 71 | def isWinner(board, player): |