How to Make Your Class Iterable in Python | Custom Iterator in Hindi
Автор: MySirG
Загружено: 2025-10-30
Просмотров: 430
Day-26 | #100dayslearningchallenge
Have you ever wondered how for loops work on your custom classes in Python? 🤔
In this video, you’ll learn how to make your own class iterable using Python’s special methods __iter__() and __next__().
🔥 What you’ll learn:
🔹 What does it mean for a class to be “iterable”
🔹 How __iter__() and __next__() work internally
🔹 Step-by-step creation of a custom iterator class
📘 Perfect for:
✅ Python learners & developers
✅ Students preparing for coding interviews
✅ Participants of #100DaysLearningChallenge
👉 Watch till the end for a hands-on example that will clear all your doubts!
💬 Comment below if you want a video on Generators next!
👉 Subscribe to MySirG for daily lessons on coding, projects, and core programming concepts!
🎯 Watch more videos in this series → • 100 Days Learning Challenge
My other channel: / @mysirgdotcom
Python Free Course : • Python for Beginners | LIVE Community Classes
#MySirG #PythonTutorial #IteratorsInPython #LearnPython #ProgrammingInHindi #100DaysLearningChallenge #iterator #iterables
#mysirg
Website
https://premium.mysirg.com
Instagram
/ mysirg
Old Channel
/ @mysirgdotcom
LinkedIn
/ saurabh-shukla-5b73bb6
X
https://x.com/sshukla_manit
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: