Python zip()

From NovaOrdis Knowledge Base
Revision as of 17:20, 17 May 2024 by Ovidiu (talk | contribs) (→‎Overview)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.