diff options
Diffstat (limited to '20/py')
| -rw-r--r-- | 20/py/d16.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/20/py/d16.py b/20/py/d16.py index f6b7f46..ed9b224 100644 --- a/20/py/d16.py +++ b/20/py/d16.py @@ -42,7 +42,7 @@ def pt2(_in): # assume it can be anything candidates = [set(range(20)) for _ in range(20)] # one set per field - for t, ticket in enumerate(tickets): + for ticket in tickets: for f, field in enumerate(ticket): for c, constraint in enumerate(constraints): if c in candidates[f] and not any(field in cons for cons in constraint): |
