Posted By

tclancy on 02/25/09


Tagged


Versions (?)

Loop over dictionary in Python


 / Published in: Python
 

Another one I always forget, mainly because of .items() at the end.

  1. for k, v in dictionary.items():

Report this snippet  

You need to login to post a comment.