Example for clarity:
def foo(arg1):
<function goes here>
x = 5
foo(x > 4)
# foo() should return "x > 4" here.
# I do not want it to return the value, True.
It's for a custom file debugger and I was wondering if it was a possibility.
If not, is there a way for a variable outside of a function's scope be passed into it? (the actual variable, not its value.)