Skip to content

Python code snippet – How to print object of type map ?

You have to turn the map into a list or tuple first
print(list(MapObject))
See also  Python code snippet - How to check for a particular word in a text file ?

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.