python global variable that can be iterated

Solutions on MaxInterview for python global variable that can be iterated by the best coders in the world

showing results for - "python global variable that can be iterated"
Syrine
13 May 2018
1COUNT = 0
2
3def increment():
4    global COUNT
5    COUNT = COUNT+1
6
7increment()
8
9print COUNT
10
similar questions