recursion programs to try

Try writing these recursion functions. Include a main() program that calls and tests the recursive function!





circles



Hint: you can add two lists together:

    >>> L1 = ['pony']
    >>> L2 = ['horse']
    >>> L1 + L2
    ['pony', 'horse']



(keep asking until you get an integer)


four circles


recursion is fun! :)