in reply to Recalling a function iteratively

Your "Logic" is too fuzzy to respond meaningfully.

It is a bad idea to iterate over a list, and attempt to modify the list during the iteration.

My advice is to define a deterministic termination condition, and put your logic in a "while" loop.

                "If you had better tools, you could more effectively demonstrate your total incompetence."