how to convert two lists of lists into a dictionary such that the first element comes from the first list and the second is from the other list duplicated

Try this:

List3 = [dict(zip(*lsts)) for lsts in zip(List1, List2)]

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top