Programming From The Very Basics Using Python - Session 28 - Functions - Part 3 - Scope of variables

Опубликовано: 14 Апрель 2026
на канале: Chandrashekar Babu
49
4

In this video, I will guide you through name resolution in python through various scope - local, enclosed, global and builtin scope. You will learn how definitions within a function create a local-scope, how to access and modify global variables and best practices in coding when it comes to managing scope. You will also learn the very basics of pure-functions vs functions-with-side-effects.

Code samples and notebooks used in the videos / demonstration are available at https://github.com/slashprog/programm...