Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ActiveState/code
/ new_block
Function
new_block
recipes/Python/578250_Sudoku_Game_Generator/recipe-578250.py:25–26 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
23
#===============================================================================
24
25
def
new_block():
26
return
random.permutation(arange(1,10)).reshape(3,3)
27
28
def
test_rowcol(S):
29
retval = True
Callers
1
generate_grid
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected