Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

remove keys from array python

a_dict = {"color": "blue", "fruit": "apple", "pet": "dog"}

[value for key, value in a_dict.items()]
>>> ['blue', 'apple', 'dog']
 
PREVIOUS NEXT
Tagged: #remove #keys #array #python
ADD COMMENT
Topic
Name
1+3 =