The zip() function pairs components from two lists into tuples, and the dict() constructor converts these tuples into a dictionary. It’s a straightforward solution to map keys to values.
in case you’re new to https://tessibfc823627.blogdon.net/the-best-side-of-python-loops-and-conditionals-46601010