Iterate on dicts in a way that is compatible with both py2 and py3
Use the print function