Skip to content

Fixes wiki and doctest issues #11227

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 12 commits into
base: master
Choose a base branch
from
Prev Previous commit
Next Next commit
Update get_top_billionaires.py to fix doctest failure
  • Loading branch information
MarlieChiller authored Jan 2, 2024
commit cc28eed98a0404f41616e827d7ce2bf7a1f7f056
2 changes: 1 addition & 1 deletion web_programming/get_top_billionaires.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
"""
Expand Down