Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

print all elements of dictionary except one in python

[v for k,v in d.iteritems() if k not in (2,5)]

# @Zenonymous
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #print #elements #dictionary #python
ADD COMMENT
Topic
Name
6+7 =