The zip() perform pairs things from two lists into tuples, as well as the dict() constructor converts these tuples right into a dictionary. It’s a straightforward solution to map keys to values.
though code snippets https://mazkingin.com/practice-challenge-questions-for-python-beginners/