Why would a programmer use format () on a string before printing it?
To customise the output so it suits the problem and the user, for example lining values up in columns with a set number of decimal places.
format () puts values into a string whose content is described by symbols and placeholders, written in curly brackets inside the string.
