Translating by Flowsnow-20180208 Python Global, Local and Nonlocal variables (With Examples)

This commit is contained in:
Flowsnow 2018-02-11 16:03:58 +08:00
parent 7476d1b60e
commit 27637d7c70

View File

@ -1,5 +1,8 @@
translating by Flowsnow
Python Global, Local and Nonlocal variables (With Examples)
======
### Global Variables
In Python, a variable declared outside of the function or in global scope is known as global variable. This means, global variable can be accessed inside or outside of the function.