Jul-25-2018, 03:39 PM
i have a stack of if clause that all need to finish at the end of it all. doing it as an elif stack just doesn't work out, at least not cleanly, due to some nested if clauses in there. in assembly i would use a branch instruction. so what i might do in Python is wrap the whole thing in a one time loop and have a break statement at the end of all those if clauses (except the ones that do a return).
the big question is what is the best way in Python to do a one time loop? right now i coded
the big question is what is the best way in Python to do a one time loop? right now i coded
for once in (1):
. is there something better?
Tradition is peer pressure from dead people
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.