human
What is the most pythonic way to avoid specifying the same value in a string
assistant
Here is some code to format string `hello {name}, how are you {name}, welcome {name}` to be interspersed by `name` three times, specifying the value as `john` only once

"""hello {name}, how are you {name}, welcome {name}""".format(name='john')

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.