Loop over dictionary in Python

/ Published in: Python
Save to your folder(s)

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

Copy this code and paste it in your HTML
  1. for k, v in dictionary.items():

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.