Is there a more elegant way for unpacking keys and values of a dictionary into two lists, without losing consistence? April 7, 2024 by Tarik keys, values = zip(*d.items())