currently I\'m displaying keys only, each in new line:
\'\'.join(mydict)
how do I display them like key:: value
In python 3.6 I prefer this syntax, which makes the code even more readable:
''.join([f'{key}: {value}' for key, value in d.items()])
See PEP 498 -- Literal String Interpolation