From 71d32e87fe8400bd181d7c424c4f284bed6eb686 Mon Sep 17 00:00:00 2001 From: kleph Date: Mon, 6 Dec 2021 14:19:34 +0100 Subject: [PATCH] Better syntax --- 3/3.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/3/3.py b/3/3.py index 4d69060..2e0d232 100755 --- a/3/3.py +++ b/3/3.py @@ -4,8 +4,8 @@ import re line_count = 0 -count = [0 for x in range(12)] -result = [0 for x in range(12)] +count = [0] * 12 +result = [0] * 12 re_parse = re.compile(r'(\d)'*12)