python format a string with a pattern code example Example: new python string formatting >>> f'Hello, {name}!' 'Hello, Bob!'