[Tutor] more fun and games with padded numbers

Kent Johnson kent37 at tds.net
Fri Jan 12 21:57:56 CET 2007


Terry Carroll wrote:
> On Fri, 12 Jan 2007, Kent Johnson wrote:
> 
>> I just want to highlight that your code uses lstrip(), not strip(). 
> 
> Oops.  I didn't even notice that.  I'll take it as a good sign that I'm
> finally getting comfortable in Python that I instinctively used it without
> realizing it.

Mmm, it was John's code I was referring to, yours uses strip() :-)



More information about the Tutor mailing list