Using Mapping In Python With List