Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python global lists

global list1
list1 = ["a", "b", "c"]


def update_list(listname):
    del listname[1:2]

update_list(list1)
 
PREVIOUS NEXT
Tagged: #python #global #lists
ADD COMMENT
Topic
Name
3+9 =