Oct-25-2019, 06:24 AM
is there any possible way to combine an assignment and an
elif
test of a value obtained from a function call that is not to be repeated? or is the only way, to abandon doing elifs
and do a continue
after each of many if tests? fortunately, this is inside a loop, so continue
would work. it just makes things a bit harder to read. continue
is kinda like doing goto
(and i hate those in general).