diff --git a/5/advent_2.py b/5/advent_2.py index eba2efd..7a40422 100755 --- a/5/advent_2.py +++ b/5/advent_2.py @@ -23,7 +23,8 @@ def findmapping(sr,tables): return table = tables.pop(0) for row in table: - if sr.source > row. + if sr.source >= row.source: + print(sr)