Perform a string formatting operation. The string on which this method is called can contain literal text or replacement fields delimited by braces {}. Each replacement field contains either the numeric index of a positional argument, or the name of a keyword argument. Returns a copy of the string where each replacement field is replaced with the string value of the corresponding argument.
str.format(*args, **kwargs)
>>> "The sum of 1 + 2 is {0}".format(1+2)
'The sum of 1 + 2 is 3'