Intermediate Python user needed help

Roy Smith roy at panix.com
Sun Aug 5 17:01:20 EDT 2012


In article <506eb405-eb07-4175-9efb-40475cabacf1 at googlegroups.com>,
 John Mordecai Dildy <jdildy85 at gmail.com> wrote:

> Current Problem at the moment
> 
> Traceback (most recent call last):
>   File "ex26.py", line 66, in <module>
>     beans, jars, crates = secret_formula(start-point)
> NameError: name 'start' is not defined
> 
> anyone know how to make start defined

You gotta give us more to go on than that.  Adding a line:

start = 0

right before line 66 will make it defined, but it's almost certainly not 
what you want.  Give us a little context.  What value did you expect 
start would have?



More information about the Python-list mailing list