printf operator (%) python vs. f string code example Example: new python string formatting >>> f'Hello, {name}!' 'Hello, Bob!'