Python: formatting strings


/ Published in: Python
Save to your folder(s)

Python allows for strings to be formatted using a predefined format string with a list of variables.
The following is an example of using multiple format strings to display the same data:

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.