Variables in a python program may not be accessible at all function in same program. This depends on where we have declared a variable.
The scope of a variable determines the portion of the program where we can access a particular identifier. There are two basic scopes of variables in Python:
Global variables
Local variables
Watch the complete Video for detailed understanding.
****************************************************************************
Did you enjoy the video? If so, give it a like above!
Subscribe to our channel for more techie video
Keep Learning!! Keep Growing!!
P.S. Make sure to keep up with us by clicking the bell!