Загрузка страницы

Introducing mZips! Python Zip and Zip Longest

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/VideosSampleCode
Python zip: https://docs.python.org/3/library/functions.html#zip
Python zip_longest: https://docs.python.org/3/library/itertools.html#itertools.zip_longest

SUPPORT ME ⭐
---------------------------------------------------
Patreon: https://patreon.com/mCoding
Paypal: https://www.paypal.com/donate/?hosted_button_id=VJY5SLZ8BJHEE
Other donations: https://mcoding.io/donate

BE ACTIVE IN MY COMMUNITY 😄
---------------------------------------------------
Discord: https://discord.gg/Ye9yJtZQuN
Github: https://github.com/mCodingLLC/
Reddit: https://www.reddit.com/r/mCoding/
Facebook: https://www.facebook.com/james.mcoding

Видео Introducing mZips! Python Zip and Zip Longest канала mCoding
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
24 мая 2021 г. 10:00:03
00:02:55
Яндекс.Метрика