def calculate_age(year_of_birth:int) -> int: """Compute the age of a person""" current_year = date.today().year return current_year - year_of_birth year_of_birth = 1994 logging.info(f"User was born in {year_of_birth} and is approximately {calculate_age(year_of_birth)} years old")