Arguments, scope and flow
Part 2 — how values go into a function, how several values come out, and which names a function can see.
In this lesson you will
- Use positional, default and keyword arguments correctly
- Return several values from a function and unpack them
- Trace the flow of execution and tell local from global variables
- Predict how mutable and immutable arguments behave inside a function