Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ndleah/python-mini-project
/ spaceIsFree
Function
spaceIsFree
Tic_Tac_Toe/tic_tac_toe.py:14–15 ·
view source on GitHub ↗
(pos)
Source
from the content-addressed store, hash-verified
12
board[pos] = letter
13
14
def
spaceIsFree(pos):
15
return
board[pos] ==
' '
16
17
def
printBoard(board):
18
print(
' '
+ board[1] +
' | '
+ board[2] +
' | '
+ board[3])
Callers
1
playerMove
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected