From ca626276efa3720721a33e524b27bc08488e4b02 Mon Sep 17 00:00:00 2001 From: PedroEdiaz Date: Mon, 1 Dec 2025 21:43:05 -0600 Subject: [PATCH] Minor changes --- 2015/01.py | 4 ++-- 2015/08.py | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/2015/01.py b/2015/01.py index 8828dd9..617c37d 100644 --- a/2015/01.py +++ b/2015/01.py @@ -12,8 +12,8 @@ except Exception as e: res1, res2 = 0, 0 -for c in input: - match c +for i in range(len(input)): + match input[i]: case '(': res1 += 1 case ')': diff --git a/2015/08.py b/2015/08.py index e4c452c..6ee420a 100644 --- a/2015/08.py +++ b/2015/08.py @@ -1,5 +1,3 @@ -import re - # Fill Input try: