mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-03-13 18:19:47 +00:00
Update get_top_billionaires.py
This commit is contained in:
parent
cc28eed98a
commit
7d55e21dae
@ -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…
x
Reference in New Issue
Block a user