diff options
author | Tomasz Kramkowski <tomasz@kramkow.ski> | 2022-12-13 11:04:35 +0000 |
---|---|---|
committer | Tomasz Kramkowski <tomasz@kramkow.ski> | 2022-12-13 11:04:35 +0000 |
commit | b74203979d10a97d4c0635469c4e5536840eafbf (patch) | |
tree | bf5c5e3bb2f51f2b59b44bd7e2fe181563d835cf | |
parent | dc76b554508cb7f4b1f1cd221192b505e7a69211 (diff) | |
download | aoc2022-b74203979d10a97d4c0635469c4e5536840eafbf.tar.gz aoc2022-b74203979d10a97d4c0635469c4e5536840eafbf.tar.xz aoc2022-b74203979d10a97d4c0635469c4e5536840eafbf.zip |
13 prettier alignment
-rw-r--r-- | 13.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |