An introduction to formatting data

Up to now, we haven't talked very much about formatting your work, laying it out so that it displays nicely looking like the way that you want it to look. You might want data to be in tables. You might want floating point numbers to have a certain number of decimal places. Python 3 makes this task very easy by using a string method called format, which you can pass arguments to. Now that might sound highly complex, but once you start using it, you will see how easy it actually is!

Please register to read more ......