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 -

c# - Selenium Authentication Popup preventing driver close or quit -

tensorflow when input_data MNIST_data , zlib.error: Error -3 while decompressing: invalid block type -