I have a short question concerning changing the value of a boolean variable.
bool = True
def boolean(boo):
boo = False
return boo
boolean(bool)
print(bool)
What am I missing? By returning the value of 'boo' inside the function boolean should do the job, shouldn't it?`
Thanks for answering.