Print the whole grid -- fallout from changing the meaning of size
This commit is contained in:
parent
6da7c2ecd6
commit
9534f04a08
1 changed files with 1 additions and 1 deletions
|
@ -133,7 +133,7 @@ class Sudoku:
|
|||
sz = self.size
|
||||
lines = []
|
||||
spacer = '{0}{1}{0}'.format('+', '+'.join(['-' * (field_width * sz) for _ in range(sz)]))
|
||||
for line in range(self.size):
|
||||
for line in range(self.row_size):
|
||||
chunks = []
|
||||
for i in range(sz):
|
||||
fields = []
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue