MCPcopy Create free account
hub / github.com/ndleah/python-mini-project / pattern

Function pattern

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_boardFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected