- Популярные видео
- Авто
- Видео-блоги
- ДТП, аварии
- Для маленьких
- Еда, напитки
- Животные
- Закон и право
- Знаменитости
- Игры
- Искусство
- Комедии
- Красота, мода
- Кулинария, рецепты
- Люди
- Мото
- Музыка
- Мультфильмы
- Наука, технологии
- Новости
- Образование
- Политика
- Праздники
- Приколы
- Природа
- Происшествия
- Путешествия
- Развлечения
- Ржач
- Семья
- Сериалы
- Спорт
- Стиль жизни
- ТВ передачи
- Танцы
- Технологии
- Товары
- Ужасы
- Фильмы
- Шоу-бизнес
- Юмор
Why set items can't be indexed? The real reason | 2MinutesPy
In this video, we will discuss why set elements can't be indexed in Python.
You might have used it in your projects. So, you might already know their properties, such as unordered, mutable, and not allowing duplicate values.
But... have you ever thought about why sets don’t support indexing and why duplicate values are not stored?
This video will explain the real reason with code and visualization, so stay till the end, and if you feel it was worthwhile, like the video and subscribe to the channel for more videos in the future.
Chapters:
⏩ 0:00 Intro
⏩ 0:20 Why can't we index set items
⏩ 0:50 Code explanation
✨More on 2MinutesPy👇👇
▶️ Why __init__.py File is Used in Python Projects: https://youtu.be/mWaMSGwiSB0
▶️ __call__ in Python? https://youtu.be/nXLhpuKI4Mw
▶️ __new__ VS __init__ in Python: https://youtu.be/ruOzNI9Q-Ho
▶️How to use match-case in Python?: https://youtu.be/FEaT1AYJAm0
▶️ Python's __init__ Method: https://youtu.be/mYKGYr0xaXw
Subscribe to https://www.youtube.com/channel/UCbcD3tpv7kIQU2cp5F9KJNA for more such videos.
@2MinutesPy
#set #sets #hashing #hashtable #python #pythonprogramming #builtins #script #code #2minutespy
Видео Why set items can't be indexed? The real reason | 2MinutesPy канала 2MinutesPy
You might have used it in your projects. So, you might already know their properties, such as unordered, mutable, and not allowing duplicate values.
But... have you ever thought about why sets don’t support indexing and why duplicate values are not stored?
This video will explain the real reason with code and visualization, so stay till the end, and if you feel it was worthwhile, like the video and subscribe to the channel for more videos in the future.
Chapters:
⏩ 0:00 Intro
⏩ 0:20 Why can't we index set items
⏩ 0:50 Code explanation
✨More on 2MinutesPy👇👇
▶️ Why __init__.py File is Used in Python Projects: https://youtu.be/mWaMSGwiSB0
▶️ __call__ in Python? https://youtu.be/nXLhpuKI4Mw
▶️ __new__ VS __init__ in Python: https://youtu.be/ruOzNI9Q-Ho
▶️How to use match-case in Python?: https://youtu.be/FEaT1AYJAm0
▶️ Python's __init__ Method: https://youtu.be/mYKGYr0xaXw
Subscribe to https://www.youtube.com/channel/UCbcD3tpv7kIQU2cp5F9KJNA for more such videos.
@2MinutesPy
#set #sets #hashing #hashtable #python #pythonprogramming #builtins #script #code #2minutespy
Видео Why set items can't be indexed? The real reason | 2MinutesPy канала 2MinutesPy
Комментарии отсутствуют
Информация о видео
29 июля 2024 г. 0:00:24
00:02:36
Другие видео канала




















