Here is the code. Of course, it could be improved, but if someone stuck maybe can help:
import datetime as dt
from decimal import Decimal
import random
from random import randint, choice
import custom_module
from custom_module import generate_time_travel_message
current_date = dt.date.today()
current_time = dt.datetime.now().time()
print(f"Today is {current_date} and the right time is {current_time}")
current_year = dt.datetime.today().year
(for testing purposes) print(current_year)
base_cost = Decimal("2024.08")
random_year = randint(2025, 2124)
(for testing purposes) print(random_year)
cost_multiplier = abs(current_year - random_year)
(for testing purposes) print(cost_multiplier)
final_cost = round(base_cost * cost_multiplier, 2)
(for testing purposes) print(final_cost)
destinations = ["Paris", "Roma", "Berlin", "Bejing", "New York", "Los Angeles"]
selected_destination = choice(destinations)
(for testing purposes) print(selected_destination)
user_time_travel_experience = generate_time_travel_message(random_year, selected_destination, final_cost)
print(user_time_travel_experience)