python - Having Trouble With Assignments -


using python 3.4, lines include eg.

num = num + 1 

fail process correctly, returns error goes along lines of "article referenced before assignment".

what error?

first, try initialize variable follows:

num = 0 ... num = num + 1 

Comments

Popular posts from this blog

javascript - Clear button on addentry page doesn't work -

python - Error: Unresolved reference 'selenium' What is the reason? -

asp.net ajax - Jquery scroll to element just goes to top of page -