1
0
mirror of https://gitlab.com/MisterBiggs/advent-of-code-2019.git synced 2025-06-15 14:46:43 +00:00

part 2 ez pz

This commit is contained in:
Anson 2019-12-03 23:35:04 -07:00
parent 8a9afb39d4
commit 379e398c0c

View File

@ -7,7 +7,7 @@ for i in range(start, end):
if code == sorted(code):
for c in code:
if code.count(c) >= 2:
if code.count(c) == 2:
count += 1
break
print(count)