Python 3.9: Global and Local Variables

Veröffentlicht am: 13 Februar 2021
auf dem Kanal: BitCode
147
14

Welcome to another Python 3.9 tutorial video, this video is about global and local variables.

We already know about variables and the terms of global and local refer to a variable's reach within a script or program. A global variable is one that can be accessed anywhere. A local variable is the opposite, it can only be accessed within its scope or some block of code.

Any variable defined with the "global" keyword is a global variable. Although python handles global variables in a different way. You will mostly be suggested not to use global variables as they can be accessed anywhere and can be a security risk. So there are some work arounds so lets see those.

Keyboard I Use: https://amzn.to/2NgjPFV

Playlist:   • Installing Python 3.9  


Auf dieser Seite können Sie das Online-Video Python 3.9: Global and Local Variables mit der Dauer online in guter Qualität ansehen, das der Benutzer BitCode 13 Februar 2021 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 147 Mal angesehen und es wurde von 14 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!