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.
Auf dieser Seite können Sie das Online-Video local and global variable scope in python | Python Tutorial for Beginners | Global Keyword in Python mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Secret Sheru 20 Juli 2021 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 13 Mal angesehen und es wurde von 0 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!