What is the most pythonic way to avoid specifying the same value in a string

advertisements
message = "hello %s , how are you %s, welcome %s"%("john","john","john")

What is the most pythonic way to avoid specifying "john" 3 times and instead to specify one phrase.


"hello %(name)s , how are you %(name)s, welcome %(name)s" % {"name": "john"}
'hello john, how are you john, welcome john'

This is another way to do this without using format.