Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
python [2019/07/09 17:23] paul [Formatting] |
python [2019/07/09 17:29] (current) paul [Formatting] |
||
---|---|---|---|
Line 172: | Line 172: | ||
==== Formatting ==== | ==== Formatting ==== | ||
- | If you want to print a neat line of data use the [Format String Syntax|https:// | + | If you want to print a neat line of data use the [[https:// |
+ | |||
+ | For example: | ||
+ | <code python> | ||
+ | print(" | ||
+ | </ | ||
+ | |||
+ | This sets a fix width for each field and aligns the test either left '' | ||
===== Mutability ===== | ===== Mutability ===== | ||