Loading topic
print, work with lists, and read a simple traceback. It builds on the idea that a name refers to an object. Here you learn where Python keeps those names.2 min readprint, work with lists, and read a simple traceback. It covers how Python decides that a name inside a function is local, and what that means for the code you write.2 min readglobal statement. Here you will use nonlocal to rebind a name that belongs to an enclosing functi2 min readglobal and nonlocal work. It also assumes you can tell rebinding a name from mutating an object. Here you will turn those rules into habits.2 min read