Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ndleah/python-mini-project
/ CleanScreen
Function
CleanScreen
Tic_Tac_Toe/tic_tac_toe.py:109–115 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
107
108
#clean Old data in screen when event occur
109
def
CleanScreen():
110
#Linux and macOS
111
if
(os.name ==
'posix'
):
112
os.system(
'clear'
)
113
#windows
114
else
:
115
os.system(
'cls'
)
116
117
118
Callers
2
StartTheGame
Function · 0.85
GamePlay
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected