October 2017
Beginner to intermediate
464 pages
12h 35m
English
One of the issues in programming is communication—how do you share information between two functions or between a group of functions? The most direct way is to use global variables.
But Python has idiosyncratic rules about global and local variables. Python likes to do things its own way.
This chapter covers
The difference between local and global variables
The global keyword
Using this keyword to prevent “the local ...
Read now
Unlock full access