Very stupid question about a % symbol

Grant Edwards invalid at invalid.invalid
Thu Sep 16 18:09:14 CEST 2010


On 2010-09-16, J <dreadpiratejeff at gmail.com> wrote:

> Reported memory amounts are within 10% tolerance

>>> "Reported memory amounts are within %d%% tolerance" % 10
'Reported memory amounts are within 10% tolerance'

-- 
Grant Edwards               grant.b.edwards        Yow! It's the RINSE CYCLE!!
                                  at               They've ALL IGNORED the
                              gmail.com            RINSE CYCLE!!



More information about the Python-list mailing list