Please enable JavaScript to use CodeHS

Intro to Computer Science in Python

Lesson 6.3 Namespaces in Functions

Description

In this lesson, we explore where variables exist and what the difference is between a local and global variable.


Objective

Students will be able to:

  • describe the different namespaces with regards to variables and functions