The idea behind this is, simply said, I want to have:
def test (a,b):
a += b
return a
>>>test(0,1)
>>>1
So it records that a = 1, and saves it as its new parameter for a. So if I return to this function again and run it again, the result should be 2. Also I was wondering, is there any way to check the contents of a parameter? Apologies about noob questions, I'm literally just starting to learn python.
Thank you!