In article <[email protected]>,
Linuxguy123  <[email protected]> wrote:
>
>I've got a small piece of code that I don't understand.  Basically, a
>variable inside an if statement inside a for loop doesn't seem to be
>updating.  Is this a scope issue ?

Nope, it's a spelling issue.  I suggest you change your code to a more
readable:

newTemp += delta
-- 
Aahz ([email protected])           <*>         http://www.pythoncraft.com/

"Programming language design is not a rational science. Most reasoning
about it is at best rationalization of gut feelings, and at worst plain
wrong."  --GvR, python-ideas, 2009-3-1
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to