Python for Testers #24-Zip Function in Python | Zip Function Explained

In this Python for Testers Tutorial we will learn how to use zip function in python. Python Zip function makes an iterator that aggregates elements from each of the iterables. Iterables could be list, tuples, strings.

Zip function returns an iterator of tuples, where the i-th tuple contains the i-th element from each of the argument sequences or iterables.