Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ndleah/python-mini-project
/ insertLetter
Function
insertLetter
Tic_Tac_Toe/tic_tac_toe.py:10–12 ·
view source on GitHub ↗
(letter,pos)
Source
from the content-addressed store, hash-verified
8
9
#insert tic tac toe symbol to screen
10
def
insertLetter(letter,pos):
11
if
(board.count(
' '
) >= 1):
12
board[pos] = letter
13
14
def
spaceIsFree(pos):
15
return
board[pos] ==
' '
Callers
2
playerMove
Function · 0.85
GamePlay
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected