MCPcopy Create free account
hub / github.com/ActiveState/code / make_grid

Function make_grid

recipes/Python/578062_Markov/recipe-578062.py:241–245  ·  view source on GitHub ↗
(sudoku_key)

Source from the content-addressed store, hash-verified

239# sudoko_key
240# - should be a proper "markov" key
241def make_grid(sudoku_key):
242 grid = expand_array(sudoku_key[0], sudoku_key[1])
243 for block in sudoku_key[2:]:
244 grid = expand_array(grid, block)
245 return grid
246
247# grid
248# - should be an X dimensional grid from make_grid

Callers 2

encryptFunction · 0.85
decryptFunction · 0.85

Calls 1

expand_arrayFunction · 0.85

Tested by

no test coverage detected