Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Mrinank-Bhowmick/python-beginner-projects
/ shuffle
Function
shuffle
projects/Sudoku_solver/main.py:11–12 ·
view source on GitHub ↗
(s)
Source
from the content-addressed store, hash-verified
9
return
(base * (r % base) + r // base + c) % side
10
11
def
shuffle(s):
12
return
sample(s, len(s))
13
14
# randomize rows, col, num
15
rBase = range(base)
Callers
2
generate_board
Function · 0.70
__init__
Method · 0.50
Calls
no outgoing calls
Tested by
no test coverage detected