[Tutor] Help on Python Looping Please

2011-02-24 Thread pyhx0r
]: size /= multiple if size multiple: '{0:.1f} {1}'.format(size, suffix) '2.3 KB' '0.0 MB' '0.0 GB' *Why do in my code, it loops to all values and not in Mark Pilgrim’s code?* Best Regards, [ pyhx0r - hx0r-labs.org

Re: [Tutor] Help on Python Looping Please

2011-02-24 Thread pyhx0r
Dear All, Thank you for your advise, it's helpful for me. NB: To DaveA, It was copy-paste from my notepad so the indentation went wrong :( +---+--+---+ | py | h | x0r | +---+--+---+ ■ 1 3 0 E2 C 9 ■ ___ Tutor maillist - Tutor@python.org To