Question: currently I'm displaying keys only, each in new line:

```
'<br/>'.join(mydict)

```

how do I display them like *key*:: *value*, each in the new line?

Answer: 
Go through the `dict.items()` iterator that will yield a key, value tuple:

```
'<br/>'.join(['%s:: %s' % (key, value) for (key, value) in d.items()])

```

Updated with modern [`f-string`](https://www.python.org/dev/peps/pep-0498/) notation:

```py
'<br/>'.join([f'{key}:: {value}' for key, value in d.items()])

```
In python 3.6 I prefer this syntax, which makes the code even more readable:

```
'<br/>'.join([f'{key}: {value}' for key, value in d.items()])

```

See [PEP 498 -- Literal String Interpolation](https://www.python.org/dev/peps/pep-0498/)