======================== Be-A-Computer: Recursion ======================== The purpose of these problems is to allow you to test your understanding of recursion. They should not take more than an hour to complete. You should do these warm-up exercises by hand. We provide files that will allow you to check your answers. To get started, run ``git pull upstream master`` to make sure you have the latest files. You can check your answers by running the Python program ``recursion.py`` in ``pp/bac/`` Warm-up exercise #1: What is the output of the following code? .. literalinclude:: bac/recursion.py :lines: 3-14 Warm-up exercise #2: What is the output of the following code? .. literalinclude:: bac/recursion.py :lines: 17-35 Warm-up exercise #3: What is the output of the following code? .. literalinclude:: bac/recursion.py :lines: 38-46 Warm-up exercise #4: What is the output of the following code? .. literalinclude:: bac/recursion.py :lines: 49-68