Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python dictionary with list

dictionary = {"one": [1, 2, 3, 4, 5], "two": "something"}
print(dictionary["one"][2])


3
 
PREVIOUS NEXT
Tagged: #python #dictionary #list
ADD COMMENT
Topic
Name
4+4 =