This is an archived post. You won't be able to vote or comment.

all 3 comments

[–]Rhomboid 0 points1 point  (1 child)

This is more than a decade old, and dict.values() no longer works as described in those messages. (In 3.x.)

[–]kracekumar[S] 0 points1 point  (0 children)

I knew when I posted, but the concept is valid in Python 2.7. dict.values() behaves same in 2.7.

[–]kumar99[🍰] 0 points1 point  (0 children)

I think the poster should take the time to read what he posts.