Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

invert dictionary python

inv_map = {v: k for k, v in my_map.items()}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #invert #dictionary #python
ADD COMMENT
Topic
Name
4+4 =