Search⌘ K

Challenge 2: Updating Outer Scope Values

Explore how to update or create variables in an outer scope through the function update_var. Understand Python's scope rules and practice handling variable modification across scopes effectively.

We'll cover the following...

Let’s look at another coding challenge.

Problem Statement

You must implement the update_var() function that takes in a value ...