WeCodeAcademy

Format numbers and text with f-strings

Put expressions in braces. After a colon you can set decimals and width.

Examplepython
Open in editor »

More Python recipes