Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

create a list with user defined name of list

list_name = input("What would you like the name of the list to be?")
vars()[list_name] = []
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #create #list #user #defined #list
ADD COMMENT
Topic
Name
2+9 =