Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Mrinank-Bhowmick/python-beginner-projects
/ drop_piece
Function
drop_piece
projects/Connect Four/main.py:20–21 ·
view source on GitHub ↗
(board, row, col, piece)
Source
from the content-addressed store, hash-verified
18
19
20
def
drop_piece(board, row, col, piece):
21
board[row][col] = piece
22
23
24
def
is_valid_location(board, col):
Callers
1
main.py
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected