phystricks
Classes | Functions
phystricks.src.SudokuGridGraph Namespace Reference

Classes

class  SudokuGridGraph
 

Functions

def sudoku_substitution (tableau, symbol_list=[str(k) for k in range(-4, 5)])
 

Function Documentation

def phystricks.src.SudokuGridGraph.sudoku_substitution (   tableau,
  symbol_list = [  str(k) for k in range(-4,5) ] 
)
From a string representing a sudoku grid,
1. remove empty lines
2. remove spaces
3. substitute 1..9 to the symbol_list