Play Home Contribute GitHub Join Us Discourse Staff Members GitHub Contribution Guides Team

Golden Choice--my problem with recursion


Very interesting level. But I have a little problem when using recursion. Anyone help me? Thanks a lot!


Unfortunately, I can confirm that recursion throws the same, seemingly unrelated error in my JavaScript implementation of the Prime Pathing level (which incorporates some really ugly code, so I’m not pasting my example here). I think that recursion might be outlawed by CodeCombat (and not by the Python language specification) as a “safety measure”.