DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
8+4 =
Submit