Learning objectives for chapter 8
Learn to write and use a value-returning function.
Learn to write and use a void function.
Learn to use parameter lists for input to functions.
  Learning objective(s) addressed
  123
Exercises Right-click (or control-click on a Mac) the title to save its PDF to your system.  
8.1 Parameter Lists PDF X X
8.2 More Parameter Lists PDF  X 
8.3 Password-protected Mortgage Calculator, v.1.0 PDF  X 
8.4 Password-protected Mortgage Calculator, v.2.0 PDF X  
8.5 Three-Question Quiz, v.2.0 PDF XXX

 
Samples Right-click (or control-click on a Mac) the title to save its PDF to your system.  
8.1 About Value-returning Functions PDF X X
8.2 About Void Functions PDF  XX

 
Videos  
8.1 Click HERE for a YouTube-like video that shows how to modify existing code to use functions. It's 24 minutes long, and done on a Mac in both Python and Java, with the JNotePad editor and command-line compiling. It shows both void and value-returning functions. XXX

Code from the chapter in order of their appearance in the text
passingGradeFun.py paramList.py name.py addition.py
random.randint #1 random.randint #2 random.randint #3 yesNo.py
password.py keepingScore.py Finding The Max/Min Value Sorting Values Lo-to-Hi
passwordProto.py      

Chapter 1 | 2 | 3 | 4 | 5 | 6 | 7 | 9 | 10 | 11 | 12 | 13 | 14 | 15