Intermediate Python user needed help

Zero Piraeus schesis at
Sun Aug 5 23:07:43 CEST 2012


On 5 August 2012 16:52, John Mordecai Dildy <jdildy85 at> wrote:
> Current Problem at the moment
> Traceback (most recent call last):
>   File "", line 66, in <module>
>     beans, jars, crates = secret_formula(start-point)
> NameError: name 'start' is not defined
> anyone know how to make start defined

I think you could help yourself by reading a good tutorial or two ...
so far, the problems you've raised suggest quite strongly that you
either aren't reading the code with anything like the care that you
need to, or just don't understand Python at all.

Hint: if the offending line were written like this, would it be more
obvious what's wrong?

  beans, jars, crates = secret_formula(start - point)


More information about the Python-list mailing list