- Sep 30, 2018
- 102
- 70
Hõla todos,
have a global list variable.
During process, I have to assign some lists variables to this global variable. The only thing which change in those variables is the suffix.
Sample better than words.
An idea ?
have a global list variable.
During process, I have to assign some lists variables to this global variable. The only thing which change in those variables is the suffix.
Sample better than words.
Python:
default currentList = []
default list_001 = [(elt1, elt2,...)]
default list_002 = [(elt1, elt2,...)]
default list_003 = [(elt1, elt2,...)]
default list_004 = [(elt1, elt2,...)]
.../...
# Would Like something like this
$ currentList = list_[counter]