Learn Recursion with a Trick and a Treat
3 min readFeb 8, 2021
The basics of recursion explained with a simple example in Python
It might not be Halloween yet, but it’s never too early to start getting prepared.
Recursion is a baffling and counter-intuitive way to solve problems for new programmers, but if you want to get anywhere, you need to have a solid grasp of the basics.