zip and zip_longest.
mZips, or just "Zips" are 3 minute or less mCoding Python, C++, and math videos for content that just can't (or shouldn't) be stretched to a normal 7-10 minutes timescale.
In this mZip, we look at the Python builtin zip function and a related zip_longest function. Zip has been updated with a new feature added in Python 3.10.
*Erratum*: Despite being listed in the list of "Built-in Functions" in the zip documentation, type(zip) confirms zip is just a class, not a function, and zip(x, y) is instantiating an instance of that class.
― mCoding with James Murphy (https://mcoding.io)
Source code: https://github.com/mCodingLLC/VideosS...
Python zip: https://docs.python.org/3/library/fun...
Python zip_longest: https://docs.python.org/3/library/ite...
SUPPORT ME ⭐
---------------------------------------------------
Patreon: / mcoding
Paypal: https://www.paypal.com/donate/?hosted...
Other donations: https://mcoding.io/donate
BE ACTIVE IN MY COMMUNITY 😄
---------------------------------------------------
Discord: / discord
Github: https://github.com/mCodingLLC/
Reddit: / mcoding
Facebook: / james.mcoding