Integers with leading zeroes

sohcahtoa82 at gmail.com sohcahtoa82 at gmail.com
Tue Jul 21 20:38:33 CEST 2015


On Tuesday, July 21, 2015 at 11:07:43 AM UTC-7, Emile van Sebille wrote:
> On 7/21/2015 10:58 AM, sohcahtoa82 at gmail.com wrote:
> >
> > IMO, leading zeroes just looks like visual noise, and if I wanted to align numbers, I'd just use spaces.
> >
> 
> Aligning numbers using spaces doesn't always align -- using zeros does.
> 
> Emile

You've got me confused.  They should align just fine if you're using a fixed-width font.

If you're not using a fixed-width font in your programming, then I don't know what to say to you.


More information about the Python-list mailing list