What return value(s) does Python check when a function returns multiple values, but there is only one 'if' checking the function's result?
Thank you for your time.
def func1(args):
return pass, data
def func2
if func1(args):
...
else
raise Exception ...
passfrom a function.Truewhenever a tuple would evaluate asTrue. If a tuple has elements, it will evaluate asTrue.