Returning a result from 3 items in a list

Chris Angelico rosuav at gmail.com
Tue Nov 24 06:05:04 EST 2015


On Tue, Nov 24, 2015 at 9:35 PM, Peter Otten <__peter__ at web.de> wrote:
> Yeah, the error message really should be
>
> "NameError: name 'result' is not defined; did you mean 'results'?"
>
> ;)

Heh. Yes, that was my fault. Sorry Cai! it should have been
results["jordan"], as you figured out.

ChrisA



More information about the Python-list mailing list