You can use advanced string formatting, available in Python 2.6 and Python 3.x:
incoming = 'arbit'
result="{0} hello world {0} hello world {0}".format(incoming)
You can use advanced string formatting, available in Python 2.6 and Python 3.x:
incoming = 'arbit'
result="{0} hello world {0} hello world {0}".format(incoming)