From a450772e87370c838b4b3704e1e82261ce4b4edf Mon Sep 17 00:00:00 2001 From: kwout Date: Sun, 3 Dec 2023 21:09:16 -0500 Subject: [PATCH] fixed stupid continue --- 2023/1a.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/2023/1a.py b/2023/1a.py index ae085b2..9fb3f5b 100644 --- a/2023/1a.py +++ b/2023/1a.py @@ -15,6 +15,6 @@ for l in lines: last = l[-i-1] lastFound = True if firstFound and lastFound: - continue + break sum += int(first + last) print(sum) \ No newline at end of file