def url_list(base_url, days):
urls = []
for day in days:
url = f'{base_url}/{day}' # Создаем URL для каждого дня
urls.append(url)
return urls
base_url = '
testurl.ru'
days_of_week = ['mon', 'tue', 'wed']
result_urls = url_list(base_url, days_of_week)
for url in result_urls:
print(url)