Building Iterable Linked Lists in Python
Learn to implement Python's iterator protocol to make custom linked lists work seamlessly with for loops and standard built-in functions.
-
💬
مدرب ذكاء اصطناعي
اسأل عن أي درس واحصل على إجابة واضحة فورًا، في أي وقت. -
🕐
ابدأ في أي وقت
بلا جداول أو مواعيد نهائية — تعلّم بوتيرتك، وقتما يناسبك. -
🌐
بالعربية
الدروس والمهام والشهادة — كل ذلك بلغتك بالكامل.
حول هذه الدورة
When building custom data structures in Python, like a linked list, you often want them to behave like native sequences. Without implementing the proper protocols, you cannot loop over your custom lists or pass them to standard built-in functions. This text-only course teaches you how to bridge that gap by implementing Python's iterator protocol. You will transform a basic custom linked list into a fully iterable collection that integrates naturally with Python's ecosystem.
What you'll learn:
- Understand the fundamental concepts of iterators, iterables, and Python's protocol-based design.
- Implement the special double-underscore methods __iter__ and __next__ correctly.
- Apply modern Python type hints to custom iterator classes for cleaner, safer code.
- Create a clean separation of concerns by isolating iteration state from the underlying data structure.
- Practice writing robust logic to handle edge cases when traversing custom nodes.
You will start with foundational definitions of custom data structures and the iterator protocol, then read through step-by-step code implementations and complete written exercises to solidify your understanding. This course is designed for beginner to intermediate Python developers who want to deepen their understanding of object-oriented programming. Start reading today to make your custom Python objects more powerful and idiomatic.
ما الذي ستحصل عليه
-
📜
شهادة إتمام
أضفها إلى ملفك على LinkedIn -
💬
مدرّس AI شخصي
عالق في دورة؟ اسأل مدرّسك المدمج أي شيء، في أي وقت. -
♾️
وصول مدى الحياة
عُد متى شئت، بلا انتهاء -
📱
الهاتف أو الكمبيوتر
يعمل في أي مكان وعلى أي جهاز -
💸
استرداد خلال 14 يومًا
دون أسئلة -
⚡
قصير ومركَّز
2 ساعة 42 دقيقة من المحتوى التطبيقي
المراجعات
لا توجد مراجعات بعد — كن أول من يشارك تجربته.
الأسئلة الشائعة
ما الذي أحتاجه لأخذ هذه الدورة؟ +
يكفي هاتف أو كمبيوتر متصل بالإنترنت. بدون تثبيتات أو أجهزة خاصة.
كيف يمكنني الدفع؟ +
بالبطاقة عبر Stripe. لا نخزن بيانات البطاقة — يتولى Stripe ذلك بأمان.
هل يمكنني استرداد المال؟ +
نعم — استرداد كامل خلال 14 يومًا، دون أسئلة.
إلى متى يستمر وصولي؟ +
إلى الأبد. بمجرد الشراء، الدورة لك تعود إليها متى شئت.
هل سأحصل على شهادة؟ +
نعم. عند الإتمام ستحصل على شهادة يمكنك إضافتها إلى ملفك في LinkedIn.
مصمَّم للعاملين في
التقنية
التصميم
المالية
التسويق
الرعاية الصحية
التعليم
الضيافة
التصنيع
×2
اشحن مرة واحدة وادفع النصف
أضف 90 € واحصل على 200 رصيد، بحيث تكلف كل دورة حوالي 11,25 €. لا تنتهي صلاحية الأرصدة أبداً.
90 €
200 رصيد
11,25 € / دورة
أفضل قيمة
230 €
550 رصيد
10,45 € / دورة
460 €
1200 رصيد
9,58 € / دورة
الرصيد يصلح لأي دورة ولا ينتهي.