Outline for December 10, 2020

Reading: §13.4–13.5
Due: Project, due December 18, 2020


  1. JSON [json-ex.py]
    1. What it is
    2. json.loads
    3. json.dumps

  2. Recursion: Fibonacci numbers [rfib.py]

  3. Example: memos
    1. Remember how slowly the recursive Fibonacci number program rfib.py ran? Here is a faster recursive version that uses memos [rfibmemo.py]

  4. Conditional expressions [condexp.py]

  5. Keyword arguments, variable number of arguments [arg3.py]


UC Davis sigil
Matt Bishop
Office: 2209 Watershed Sciences
Phone: +1 (530) 752-8060
Email: mabishop@ucdavis.edu
MHI 289I, Programming for Health Informatics
Version of December 10, 2020 at 10:50AM

You can also obtain a PDF version of this.

Valid HTML 4.01 Transitional Built with BBEdit Built on a Macintosh