python - convert dictionary into list with length based on values,"list(itertools.chain(*[([k] * v) for k, v in list(d.items())]))"