cidades ={ 'Duque de Caxias': 924624, 'Campo Grande' : 924624} print({v:k for k,v in cidades.items()})
Standard input is empty
{924624: 'Campo Grande'}
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!