===================================== Be-A-Computer: Functional Programming ===================================== The purpose of these problems is to allow you to test your understanding of functional programming. 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 ``functional.py`` in ``pp/bac/`` Warm-up exercise #1: What is the output of the following code? .. literalinclude:: bac/functional.py :lines: 2-8 Warm-up exercise #2: What is the output of the following code? .. literalinclude:: bac/functional.py :lines: 12-22 Warm-up exercise #3: What is the output of the following code? (Note: This is a problem from a past CS 121 exam) .. literalinclude:: bac/functional.py :lines: 26-33