Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Mrinank-Bhowmick/python-beginner-projects
/ pattern
Function
pattern
projects/Sudoku_solver/main.py:8–9 ·
view source on GitHub ↗
(r, c)
Source
from the content-addressed store, hash-verified
6
side = base * base
7
8
def
pattern(r, c):
9
return
(base * (r % base) + r // base + c) % side
10
11
def
shuffle(s):
12
return
sample(s, len(s))
Callers
1
generate_board
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected