> Yes, use the proper tool for the job.  Tuples are immutable (they are
> read-only once created).  Instead use a dictionary.  They key would be
> your string, the value would be the count.

Wow, I really should have thought of that! Thanks.

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to