Search
 
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
Name
1+2 =