fix sudoku
This commit is contained in:
parent
ca2a4a55cc
commit
3f09ba09b1
Binary file not shown.
Before Width: | Height: | Size: 9.1 KiB After Width: | Height: | Size: 9.9 KiB |
@ -40,8 +40,8 @@ def generate_sudoku():
|
|||||||
|
|
||||||
|
|
||||||
def expandLine(line):
|
def expandLine(line):
|
||||||
# return line[0]+line[5:9].join([line[1:5]*(base-1)]*base)+line[9:13]
|
return line[0]+line[5:9].join([line[1:5]*(base-1)]*base)+line[9:13]
|
||||||
return line[0]+line[3:7].join([line[1:3]*(base-1)]*base)+line[3:5]
|
# return line[0]+line[3:7].join([line[1:3]*(base-1)]*base)+line[3:5]
|
||||||
# return line[0]+line[3:5].join([line[1:3]*(base-1)]*base)+line[5:7]
|
# return line[0]+line[3:5].join([line[1:3]*(base-1)]*base)+line[5:7]
|
||||||
# return line[0]+line[4:7].join([line[1:4]*(base-1)]*base)+line[7:10]
|
# return line[0]+line[4:7].join([line[1:4]*(base-1)]*base)+line[7:10]
|
||||||
line0 = expandLine("╔═══╤═══╦═══╗")
|
line0 = expandLine("╔═══╤═══╦═══╗")
|
||||||
|
Loading…
Reference in New Issue
Block a user