diff options
author | Tomasz Kramkowski <tk@the-tk.com> | 2021-11-26 23:54:30 +0000 |
---|---|---|
committer | Tomasz Kramkowski <tk@the-tk.com> | 2021-11-26 23:54:30 +0000 |
commit | 515c7bff241144022a5a10b8e984c7bd90ba0c90 (patch) | |
tree | 18be7e555ed0bc13bf7d891430cf8d9d71c050cd | |
parent | deb9cd82db7f5b6a44f613feb0959110ce70c2e6 (diff) | |
download | aoc2015-515c7bff241144022a5a10b8e984c7bd90ba0c90.tar.gz aoc2015-515c7bff241144022a5a10b8e984c7bd90ba0c90.tar.xz aoc2015-515c7bff241144022a5a10b8e984c7bd90ba0c90.zip |
24: don't reverse
-rw-r--r-- | 24/solution.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/24/solution.py b/24/solution.py index 6aa9ebe..a3c6604 100644 --- a/24/solution.py +++ b/24/solution.py @@ -37,7 +37,6 @@ def part2(packages): if __name__ == '__main__': with open('input') as f: - packages = list(int(l.rstrip()) for l in f) - packages.reverse() + packages = [int(l.rstrip()) for l in f] print(part1(packages)) print(part2(packages)) |