Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

rename a variable using .format in python

arraysList = []
for i in range(0,3):
    arraysList.append([1,2,3])

print arraysList
# [[1, 2, 3], [1, 2, 3], [1, 2, 3]]
print arraysList[1]
# [1, 2, 3]
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #rename #variable #python
ADD COMMENT
Topic
Name
6+9 =