01 / 06
Lay out the tools you have
Lay out what this chapter gave you.
def… give a chunk of work a name- arguments … hand a value from outside to inside
return… hand a value from inside to outside- scope … a name made inside belongs inside
- keyword arguments and defaults … pass by name, settle what to use when nothing is passed
That is all the grammar. From here it is about how you use it. Two pieces of code with the same output can read completely differently depending on where the parts are cut.