So I have code for a 2048 board:
count = 0
for i in range(16):
print(nlist[i], end = ' ')
count += 1
if count == 4:
print("")
count = 0
and this works fine if all the values are single digit numbers:
0 0 0 8
0 4 0 0
0 0 2 2
0 0 0 0
but if I have multiple numbers with more than 1 digit:
16 0 2 2048
8 2 32 64
2 2 0 0
2048 2048 4096 4096
All the spacing gets messed up. Is there any fix for this?