From eb233235c876600bafa39a538d18ce11cfc72b39 Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Sun, 7 Dec 2025 09:14:27 +0100 Subject: Clean up and alternative solution to day 7 --- 2025/07/a.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '2025/07/a.py') diff --git a/2025/07/a.py b/2025/07/a.py index 0e13b75..53ff68c 100644 --- a/2025/07/a.py +++ b/2025/07/a.py @@ -2,9 +2,9 @@ import fileinput with fileinput.input() as lines: rows = [line[:-1] for line in lines] - pos = [rows[0].find('S')] s = 0 +pos = [rows[0].find('S')] for row in rows[1:]: newpos = set() for p in pos: -- cgit v1.3