Jeff's notes of things to mention in lectures related to Chapter 3 in https://automatetheboringstuff.com/2e/chapter3/ Link to this file (in the video description) - http://cs.indstate.edu/~jkinne/cs151-s2020/code/LECTURES/kinne_chapter3.txt Link to files in this video - http://cs.indstate.edu/~jkinne/cs151-s2020 and then click "In class code" on the left and then click LECTURES and then click kinne_chapter3 Note - these videos do /not/ introduce all of the rules, keywords, and such. You need to read the book as well to get the first explanation, then come to these videos to get Jeff's "now this is the point of all this" * Vocab/concepts - Define, Call, Pass, Argument, Parameter * Keywords - def, return -- Video 1 -- * Debugger - useful for showing what happens * Play computer - you do it on paper, then you do it in debugger -- Video 2 -- What are functions, how to use etc. Answer 1 - name for some code, keep it organized, can repeat it easily Keep your code organized into small chunks! -- Video 3 -- What are functions, how to use etc. Answer 2 - name for some code, pass in parameters to make it run with different inputs Same code does different things based on the parameters! -- Video 4 -- What are functions, how to use etc. Answer 3 - name for some code, pass parameters, return a value Now you have a new operation that is in your toolkit! -- Video 5 -- What are functions, how to use, etc. Some craziness to do some math formulas, just to see how it looks with play computer and the debugger -- Not covered in videos, for now -- Functions, more details * Keyword arguments * Python keywords - None * Scope - global versus local, global statement -- Not covered in videos, for now -- Exception handling * Python keywords - try, except Common mistakes * Leaving out return statement * Leaving out () when trying to call function * Leaving out calling the function altogether -- Notes for Videos -- Play computer