From 43c98a209f21bbb1745b3b77318a5829b1ba594c Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Thu, 8 Dec 2022 20:32:31 +0100 Subject: [PATCH] Improve readability for day7 numbers --- 2022/day07_space.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/2022/day07_space.py b/2022/day07_space.py index 8da25a0..4057d06 100644 --- a/2022/day07_space.py +++ b/2022/day07_space.py @@ -103,8 +103,8 @@ def solve_part_1(root: Directory) -> int: def solve_part_2(root: Directory) -> int: - total_disk_space = 70000000 - required_disk_space = 30000000 + total_disk_space = 70_000_000 + required_disk_space = 30_000_000 unused_space = total_disk_space - root.size minimum_size_to_delete = required_disk_space - unused_space minimum_directory_size = math.inf