mapping a dictioanry with list in python and vice cersa code example Example: def dict(d) def dict(d)