Python format() built-in function

Python format() built-in function

From the Python 3 documentation Convert a value to a “formatted” representation, as controlled by format_spec. The interpretation of format_spec will depend on the type of the value argument. [...].