Skip to content

How to print all elements of a dictionary in Python?

for key, value in mydic.items() :
    print (key, value)
See also  How to split with multiple delimiters in Python?

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.