python 2 format string code example
Example 1: new python string formatting
>>> f'Hello, {name}!'
'Hello, Bob!'
Example 2: python 2 format string
'%s %s' % ('one', 'two')
>>> f'Hello, {name}!'
'Hello, Bob!'
'%s %s' % ('one', 'two')