On 2020-11-01, duncan smith <duncan@invalid.invalid> wrote:
>> 
>
> But this generates the letters counts for each word. They only need to
> be generated once (outside the for loop). And using count requires
> iterating over the letters / words for each x in letters (rather than
> once). For a large enough collection of words you'd notice the difference.
>

You're pretty much right, it doesn't go too fast.
I've done this years ago with Python2, had a bit free time now and
wanted to ReLearn Python from starting old projects I've done in past
but can't remember how I made it working lol. 
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to