filmov
tv
Python Global Variables (☠ Don't Use them!) #14
Показать описание
Scope refers to the availability of variables and functions in certain parts of the code.
In this video, we will learn about the concept of global and local variables in Python. Local variables are variables declared inside the function body and they cannot be accessed from outside the function. Global variables are the variables declared outside of a function or in the global scope.
~
Watch our videos and revise them with our Python App!
Timestamps:
0:00 Intro
0:23 Local Variables
2:28 Global Variables
5:16 Recap
Find Programiz elsewhere:
-------------------------------------------------
Python Global Variables (☠ Don't Use them!) #14
#python #learnprogramming #programiz #localvariables #globalvariables
In this video, we will learn about the concept of global and local variables in Python. Local variables are variables declared inside the function body and they cannot be accessed from outside the function. Global variables are the variables declared outside of a function or in the global scope.
~
Watch our videos and revise them with our Python App!
Timestamps:
0:00 Intro
0:23 Local Variables
2:28 Global Variables
5:16 Recap
Find Programiz elsewhere:
-------------------------------------------------
Python Global Variables (☠ Don't Use them!) #14
#python #learnprogramming #programiz #localvariables #globalvariables
Комментарии