Suppose I have a string
reminder_text = 'Не забудь прислать отчет за %s по проекту %s, пожалуйста.' Now arguments are passed to it % (date, project.name) , where project.name is a string. I want to make it so that instead of project.name , a list of project names is transferred, that is, project_names = [project1.name, project2.name, project3.name] and the final output of the line is:
'Не забудь прислать отчет за %s по проектам project1.name, project2.name, project3.name, пожалуйста.'
How can I achieve this?