function is used to format the output string formatted
- The basic format is str . Format
Wherein, 0 and 1 represent the format of the first and second parameters; .2f representative of two decimal places
function is used to format the output string formatted
Wherein, 0 and 1 represent the format of the first and second parameters; .2f representative of two decimal places