Python zip(): Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
 
(No difference)

Latest revision as of 17:20, 17 May 2024

Internal

Overview

zip() "pairs" up the elements of a number of lists, tuples or other sequences to create a list of tuples. It can also be used to create dictionaries from sequences and keys and values.