In this video we are going to see what are the scopes of variables in python.
There are two types of variables: global variables and local variables.
The scope of global variables is the entire program whereas the scope of local variable is limited to the function where it is defined.
Local variables can only be reached within their scope(like func() above).
A global variable can be used anywhere in the program as its scope is the entire program.
On this page of the site you can watch the video online local and global variable scope in python | Python Tutorial for Beginners | Global Keyword in Python with a duration of hours minute second in good quality, which was uploaded by the user Secret Sheru 20 July 2021, share the link with friends and acquaintances, this video has already been watched 13 times on youtube and it was liked by 0 viewers. Enjoy your viewing!