Using a value in an if statement outside the statement
Using a value in an if statement outside the statement
I have a statement
if something:
return x
else:
return -x
I can't see how to extract that value out of the if statement though to
get that return. Thanks
No comments:
Post a Comment