On 12/08/2015 03:01, Steven D'Aprano wrote:
On Tue, Aug 11, 2015 at 04:24:39PM -0700, Ltc Hotspot wrote:
Hi Everyone,
Why is there an AttributeError, line 12, below : 'tuple' object has no
attribute 'sort'?
Haven't I see this exact same question, complete with solutions, on the
python-list mailing list?
You have indeed. The answer from Chris Angelico was to use
collections.Counter, which is exactly what I told him here several days
ago. He's also put the same question on the core mentorship list just
for good measure.
--
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.
Mark Lawrence
_______________________________________________
Tutor maillist - [email protected]
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor