Carel Fellinger <cfelling at iae.nl> wrote: ... > or to get them all > >>> for x in count: > ... print "the number %r occured %d time(s)" % (78, count[78])) blaim it on stupid cut&paste, but this should read: ... print "the number %r occured %d time(s)" % (x, count[x])) -- groetjes, carel