
Python Loops: Trace the Output
Trace for and while loops in Python to predict program output
Students review how functions take arguments and return results, then trace four short Python programs covering keyword arguments, print versus return, default values and local scope, and write two functions of their own.

For members. Join from $9.99 a month for unlimited downloads.
Decompose problems into smaller components through systematic analysis, using constructs such as procedures, modules or objects.
Create artifacts by using procedures within a program, combinations of data and procedures, or independent but interrelated programs.