Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/geekcomputers/Python
/ is_full
Function
is_full
Tic-Tac-Toe Games/tic-tac-toe1.py:42–44 ·
view source on GitHub ↗
Return True if the board is full.
(board: Board)
Source
from the content-addressed store, hash-verified
40
41
42
def
is_full(board: Board) -> bool:
43
""
"Return True if the board is full."
""
44
return
all(cell !=
" "
for
row in board
for
cell in row)
45
46
47
def
get_valid_input(prompt: str) -> int:
Callers
1
main
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected