[Tutor] Sorting the Parts of a Dictionary into a List

Steven D'Aprano steve at pearwood.info
Sat May 12 05:21:39 CEST 2012


Jacob Bender wrote:

> The total function works when it returns the strength of a neuron, but I
> don't think the "sorted" function is the best because, with its current
> configuration, it returns a type error. I have been doing python for
> several years now. I don't know EVERYTHING there is to know, but I am able
> to do most tasks without error. Please help me get the neurons into an
> order in a list as described in my original email. Also, I do thank you for
> your original replies!


Jacob, please read this article, for some excellent advice about asking for help:

http://sscce.org/


This will help us to help you.



-- 
Steven


More information about the Tutor mailing list