It would be possible to store the condition itself in the variable, rather than the immediate return it, when to declare it?
Example:
a = 3
b = 5x = (a == b)
print(x)a = 5
print(x)
The return is
False
False
However, I expected to get
False
True
I'm just having fun with the magic of Python. I know it is possible using a function, but I wonder if it is possible using a variable.