mirror of
https://gitlab.com/MisterBiggs/advent-of-code-2019.git
synced 2025-08-02 19:31:27 +00:00
part 2 ez pz
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user