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

Function shuffle

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

Calls

no outgoing calls

Tested by

no test coverage detected