mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-03-13 18:19:47 +00:00
removed redundant comment
This commit is contained in:
parent
aa5885e92a
commit
655419a7f7
@ -34,7 +34,6 @@ def calculate_age(unix_timestamp: float) -> str:
|
|||||||
>>> 2024 - int(calculate_age(2209202284))
|
>>> 2024 - int(calculate_age(2209202284))
|
||||||
2040
|
2040
|
||||||
"""
|
"""
|
||||||
# Convert date from milliseconds to seconds
|
|
||||||
birth_date = datetime.fromtimestamp(unix_timestamp, tz=UTC)
|
birth_date = datetime.fromtimestamp(unix_timestamp, tz=UTC)
|
||||||
|
|
||||||
# Calculate the age
|
# Calculate the age
|
||||||
|
Loading…
x
Reference in New Issue
Block a user