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
Variable Scope
Global Scope
A variable's scope is the part of a program where the variable can be accessed. A variable created outside of a function has global scope and can be accessed anywhere in the program. A Python program begins in global scope, and the global scope lasts for the entire program execution.
Checkpoint: Global Variables in a Program with a Function
<iframe src="https://driv...