Last class, we studied a new topic (at least to me), which was local, non local and global variables. And is the concept of accessing and changing variables in different locations of the code. Meaning either module-level variables or method-level variables. This seems like a really useful feature as you might want to change a variable that is outside of a function from the current function.
No comments:
Post a Comment