Core: learn it Step 2 of 16 on the Python Developer roadmap

f-strings and formatting

f-strings let you drop values straight into text, for example f'Total: GH₵{total:.2f}'. They are the cleanest way to produce neat, readable output.

Learn it on JeliScript

Resources

More in Values, variables and types

See it on the Python Developer roadmap