currently I\'m displaying keys only, each in new line:
\'\'.join(mydict)
how do I display them like key:: value
Go through the dict.items() iterator that will yield a key, value tuple:
dict.items()
''.join(['%s:: %s' % (key, value) for (key, value) in d.items()])
Updated with modern f-string notation:
''.join([f'{key}:: {value}' for key, value in d.items()])