mynum = 1000 mystr = 'Hello World!' print("{mystr} New-style formatting is {mynum}x more fun!".format(**locals()))