summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomasz Kramkowski <tk@the-tk.com>2021-12-13 10:15:01 +0000
committerTomasz Kramkowski <tk@the-tk.com>2021-12-13 10:15:01 +0000
commit51da7613eb93ffd3851970d2f51530732bc47c53 (patch)
tree3cc0f3f837beb4a2bbb8cc91e21cdb926820bd70
parentdee3d1832176a0caa60770e87ff668811c1ebd8e (diff)
downloadaoc2021-51da7613eb93ffd3851970d2f51530732bc47c53.tar.gz
aoc2021-51da7613eb93ffd3851970d2f51530732bc47c53.tar.xz
aoc2021-51da7613eb93ffd3851970d2f51530732bc47c53.zip
day 13: actuall spaces are easier to read
-rw-r--r--13.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/13.py b/13.py
index 4003f9c..2b4a622 100644
--- a/13.py
+++ b/13.py
@@ -37,5 +37,5 @@ maxy = min(f.pos for f in folds if f.axis == 'y')
points = set((p.x, p.y) for p in points)
for y in range(maxy):
for x in range(maxx):
- print('#' if (x, y) in points else '.', end='')
+ print('#' if (x, y) in points else ' ', end='')
print()