MCPcopy 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_boardFunction · 0.70
__init__Method · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected