[Tutor] print formatting, length of string

Alan Gauld alan.gauld at blueyonder.co.uk
Mon Jun 28 18:55:00 EDT 2004

> In other words, I want my colons to line up.  The code I have so far
is a
> kludge:

Check out format strings. You can specify the minimum length of a
using a format specifier, and whether it is right or lefdt justified.
That should do what you want.

Alan G

More information about the Tutor mailing list