To convert two list into a dictionary we can make use of dict() and zip() method which helps to convert into dictionary.
zip() function take iterables (can be zero or more), makes iterator that aggregates elements based on the iterables passed, and returns an iterator of tuples.
Comments