Intermediate Python user needed help
schesis at gmail.com
Sun Aug 5 23:07:43 CEST 2012
On 5 August 2012 16:52, 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
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