fix sudoku

This commit is contained in:
samerbam 2023-08-23 09:19:16 -04:00
parent ca2a4a55cc
commit 3f09ba09b1
2 changed files with 2 additions and 2 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.1 KiB

After

Width:  |  Height:  |  Size: 9.9 KiB

View File

@ -40,8 +40,8 @@ def generate_sudoku():
def expandLine(line):
# 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[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: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]
line0 = expandLine("╔═══╤═══╦═══╗")