w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
How to turn recursion into a loop to avoid maximum recursion error

Maybe this:

while count != loop
    #run whatever is in get data
    raise SystemExit

If you provided more information, though, I might go for a for loop instead.

© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.