Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

4.3.3. Reassigning Variables


a=[1, 2, 3]
for i in range(len(a)):
    a[i] += 1

Source by w3programmers.org #
 
PREVIOUS NEXT
Tagged: #Reassigning #Variables
ADD COMMENT
Topic
Name
3+2 =