From cc28eed98a0404f41616e827d7ce2bf7a1f7f056 Mon Sep 17 00:00:00 2001 From: Charlie Miller <35689954+MarlieChiller@users.noreply.github.com> Date: Tue, 2 Jan 2024 10:36:54 +0000 Subject: [PATCH] Update get_top_billionaires.py to fix doctest failure --- web_programming/get_top_billionaires.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web_programming/get_top_billionaires.py b/web_programming/get_top_billionaires.py index 6f986acb9..13de55264 100644 --- a/web_programming/get_top_billionaires.py +++ b/web_programming/get_top_billionaires.py @@ -29,7 +29,7 @@ def calculate_age(unix_date: float) -> str: >>> from datetime import datetime, UTC >>> years_since_create = datetime.now(tz=UTC).year - 2022 >>> int(calculate_age(-657244800000)) - years_since_create - 73 + 72 >>> int(calculate_age(46915200000)) - years_since_create 51 """