python 2.7 format replace code example Example: new python string formatting >>> f'Hello, {name}!' 'Hello, Bob!'