Zip is a quick way to take multiple lists can combine them.
To reverse the effect, turn a list of tuples into separate lists, use * in the parenthesis: zip(*x)
If you enjoyed this lesson, click LIKE below, or even better, leave me a COMMENT.
Last Lesson: lambda, map, reduce, filter
Next Lesson: list comprehension
Back to Python Course: Course