9/15/2021 1:23:28 AM
You essentially have an infinite recursive loop.
All you need is;
if len(t) < 1:
Thanks to all.
★ⒸⒶⓁⒺⒷ ⒼⓊⒺⓇⓇⒶ ⓄⓇⓉⒺⒼⒶ★ This might give you an idea about it:
if not txt:
# If this wasn't part of a challenge, I'd need to point out that recursion is very inefficient for this case
Check this code, I will not give you the whole problem solved, so you can think for yourself.
Thanks for sharing. I found a lot of interesting information here.
Send us a message