In article <mailman.203.1089464076.5135.python-list at python.org>, Dag Hansteen <d-hanst at online.no> wrote: . . . > numbers = email.list() > count = 0 > for n in numbers: > count = count + 1 > print "You have", str(count), "new e-mails in inbox." . . . How's it happen you prefer that to print "You have %d new e-mails in inbox." % len(email.list()) ?