Bummer! This is just a preview. You need to be signed in with an account to view the entire instruction.

Well done!

You have completed (UPI) Chapter 8: Functions and Control Flow in Python!

Instruction

Control Flow and Functions

Control flow is the sequence of program execution. A program's control flow begins at the main program but rarely follows a strict sequence. For example, control flow skips over lines when a conditional statement isn't executed.

When execution reaches a function call, control flow moves to where the function is defined and executes the function statements. Then, control flow moves back to wh...