Jul-17-2018, 01:25 AM
if i use recursion, i can make it just not recurse when it no longer needs to (when the sum of the indexes reaches a certain value). when i did this in C i basically did the same as my 360 assembler version and used a goto to escape the loop to effect the same as recursion (without pushing the stack) and another to re-enter the loop (without pulling the stack). but it looks like recursion is the way to go in Python. i'm wondering if i can do this as a generator.
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.