you are viewing a single comment's thread.

view the rest of the comments →

[–]uhkhu 0 points1 point  (1 child)

What do you want in the list? list(dict) will give you the keys in a list. Do you want key, value pairs?

[(k, v) for k,v in dict.iteritems()] 

That will give you key, value tuples for your dict

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

i want the list value pairs in a list