On 1/26/06, John Fouhy <[EMAIL PROTECTED]> wrote: > >>> for name in pairs: > ... print '%*s --> %*s' % (maxKey, name, maxValue, pairs[name])
thanks for pointing out the '*' syntax. Ignorant as I am I have had to write things like print '%%%ss --> %%%ss' % (maxKey, maxValue) % (name, pairs[name]) for years. Thanks :-) Michael _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor