DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
python dynamic variable name
name = "a" value = True a_dictionary = {name: value} print(a_dictionary["a"])
PREVIOUS
NEXT
Tagged:
#python
#dynamic
#variable
ADD COMMENT
Topic
COMMENT
Name
1+2 =
Submit