DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
python global variable that can be iterated
COUNT = 0 def increment(): global COUNT COUNT = COUNT+1 increment() print COUNT
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#python
#global
#variable
#iterated
ADD COMMENT
Topic
COMMENT
Name
1+3 =
Submit