Small error in spacing calculations

This commit is contained in:
Firepup Sixfifty 2024-08-30 09:46:48 -05:00
parent 68e3b2c1fc
commit 1120649fd0
Signed by: Firepup650
SSH key fingerprint: SHA256:cb8sEJwc0kQJ6/nMUhscWRe35itf0NFMdSKl3v4qt48

View file

@ -51,7 +51,7 @@ fp.clear()
tDigits = 1 tDigits = 1
tmp = answerCount tmp = answerCount
while tmp > 10: while tmp > 9:
tmp = tmp / 10 tmp = tmp / 10
tDigits += 1 tDigits += 1
@ -74,7 +74,7 @@ while 1:
answer = queue.pop(0) answer = queue.pop(0)
aDigits = 0 aDigits = 0
tmp = i + 1 tmp = i + 1
while tmp > 10: while tmp > 9:
aDigits += 1 aDigits += 1
tmp = tmp / 10 tmp = tmp / 10
digits = tDigits - aDigits digits = tDigits - aDigits