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

Enumerate Will Save You From THIS!

Having a counter showing where you are in a loop or other iterable is a very useful thing, and there is a very easy option that I've certainly done before as well as seeing a lot of beginners take. But it's not the right way. We have enumerate() in Python that will give you the index and the value of the iterable we are looping through. It's very useful and I'd recommend you start to add it into your code now.

Support Me:

# Patreon: https://www.patreon.com/johnwatsonrooney
# Amazon UK: https://amzn.to/2OYuMwo
# Hosting: Digital Ocean: https://m.do.co/c/c7c90f161ff6
# Gear Used: https://jhnwr.com/gear/ (NEW)
-------------------------------------
Disclaimer: These are affiliate links and as an Amazon Associate I earn from qualifying purchases
-------------------------------------

Видео Enumerate Will Save You From THIS! канала John Watson Rooney
Показать
Комментарии отсутствуют
Введите заголовок:

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

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

Зарегистрируйтесь или войдите с
Информация о видео
16 марта 2022 г. 19:00:05
00:04:01
Яндекс.Метрика