Fred Agbo
November 30, 2026
WkiFn
What is recursion and what does it look like in code?
Can we trace through recursive calls?
What are some drawbacks of recursion?
How can we use recursion graphically?
———————————-
Head to the DIscord and download the starter code files
fib that
returns the nth Fibonacci numberfib function is called,
increment (or initialize) the correct count in your dictionary.fib(5), how many times is
fib(1) called?
fib(5)fib(25)?maze_solver.py program demonstrates
one recursive approach, which also tracks the final path