I have tried to do send variable and change its value in function. But, I have not succesful. What I have done;
>>>a = True
>>>def f (c):
c = False
>>>f(a)
>>>a
a = True
But I want a to be False, without using return, can I do ?
I have tried to do send variable and change its value in function. But, I have not succesful. What I have done;
>>>a = True
>>>def f (c):
c = False
>>>f(a)
>>>a
a = True
But I want a to be False, without using return, can I do ?