summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomasz Kramkowski <tomasz@kramkow.ski>2022-12-13 11:04:35 +0000
committerTomasz Kramkowski <tomasz@kramkow.ski>2022-12-13 11:04:35 +0000
commitb74203979d10a97d4c0635469c4e5536840eafbf (patch)
treebf5c5e3bb2f51f2b59b44bd7e2fe181563d835cf
parentdc76b554508cb7f4b1f1cd221192b505e7a69211 (diff)
downloadaoc2022-b74203979d10a97d4c0635469c4e5536840eafbf.tar.gz
aoc2022-b74203979d10a97d4c0635469c4e5536840eafbf.tar.xz
aoc2022-b74203979d10a97d4c0635469c4e5536840eafbf.zip
13 prettier alignment
-rw-r--r--13.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/13.py b/13.py
index 01f8063..5c1fa34 100644
--- a/13.py
+++ b/13.py
@@ -12,8 +12,8 @@ def compare(l, r):
cmp = compare(a, b)
if cmp != 0: return cmp
return compare(len(l), len(r))
- case ([*l], int(r)): return compare(l, [r])
- case (int(l), [*r]): return compare([l], r)
+ case ( [*l], int(r)): return compare(l, [r])
+ case (int(l), [*r]): return compare([l], r)
case (int(l), int(r)): return min(max(l - r, -1), 1)
p1 = 0