mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-02-07 10:00:55 +00:00
Update get_top_billionaires.py
This commit is contained in:
parent
553eb820b5
commit
c7866491ec
|
@ -31,7 +31,7 @@ def calculate_age(unix_date: float) -> str:
|
|||
>>> int(calculate_age(-657244800000)) - years_since_create
|
||||
72
|
||||
>>> int(calculate_age(46915200000)) - years_since_create
|
||||
51
|
||||
50
|
||||
"""
|
||||
# Convert date from milliseconds to seconds
|
||||
unix_date /= 1000
|
||||
|
|
Loading…
Reference in New Issue
Block a user