Solve 4.2

This commit is contained in:
2021-05-03 19:31:28 +03:00
parent ef3988b942
commit 7cf0dcfe32
4 changed files with 50 additions and 6 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
import re
with open('02-input') as f:
with open('input') as f:
passwords = [row.strip() for row in f]
pattern = re.compile(r'(\d*)-(\d*) (\w): (.*)')