Hello, according to this page one can't use code like
if variable = something():
#do something with variable, whose value is the result of something() and is true
So in case I want to have the following code structure:
if a = something():
#do something with a
elif a = somethingelse():
#...
#5 more elifs
where something() functions are compute-intensive (I mean that using the function and then doing it again to assign value to a variable in case the first one was true can't be done), what should I write instead in Python? Add 7 more variables instead of 1?