Returning a result from 3 items in a list

Cai Gengyang gengyangcai at gmail.com
Tue Nov 24 06:06:44 EST 2015


Its cool ... No problem 

On Tuesday, November 24, 2015 at 7:05:25 PM UTC+8, Chris Angelico wrote:
> 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