@@ -0,0 +1,1497 @@
+#Section 1: Terminology%0A# 1) What is a recursive function?%0A# Recursive function is a function that either calls itself, or it's in a function call.%0A#%0A#%0A# 2) What happens if there is no base case defined in a recursive function?%0A# The function won't work. 'if' won't work.%0A#%0A#%0A# 3) What is the first thing to consider when designing a recursive function?%0A# Have the base case and the recursive case. Makes sure they work well.%0A#%0A#%0A# 4) How do we put data into a function call?%0A#%0A#%0A# %0A# 5) How do we get data out of a function call?%0A#%0A#%0A#%0A%0A#Section 2: Reading%0A# Read the following function definitions and function calls.%0A# Then determine the values of the variables q1-q20.%0A%0A#a1 = 2, 11%0A#a2 = 11, 2%0A#a3 = 1, 0%0A%0A#b1 = 4, 4%0A#b2 = 1, 1%0A#b3 = -1, 4%0A%0A#c1 = 1, 0%0A#c2 = 2, 1%0A#c3 = 10, 9%0A%0A#d1 =%0A#d2 =%0A#d3 =%0A%0A#Section 3: Programming%0A#Write a script that asks the user to enter a series of numbers.%0A#When the user types in nothing, it should return the average of all the odd numbers%0A#that were typed in. %0A#In your code for the script, add a comment labeling the base case  on the line BEFORE the base case.%0A#Also add a comment label BEFORE the recursive case.%0A#It is NOT NECESSARY to print out a running total with each user input.%0A%0Aimport random%0A%0A%0Adef adder(numbers = 1):%0A%09print %22The current total is %7B%7D%22.format(numbers)%0A%09n0 = raw_input(%22Please type in the next number: %22)%0A%09if n0 == %22%22:%0A%09%09print %22The sum is %7B%7D%22.format(numbers)%0A%09else:%0A%09%09numbers += float(n0)%0A%09%0A%09%09adder(numbers)%0A%0Adef main():%0A%09adder()%0Amain()%0A%0A

Not Done