Python Functions: Defining Flexible Optional Arguments
Learn how to structure Python functions using positional and keyword arguments so you can write reusable and clear code for any project.
-
💬
مدرب ذكاء اصطناعي
اسأل عن أي درس واحصل على إجابة واضحة فورًا، في أي وقت. -
🕐
ابدأ في أي وقت
بلا جداول أو مواعيد نهائية — تعلّم بوتيرتك، وقتما يناسبك. -
🌐
بالعربية
الدروس والمهام والشهادة — كل ذلك بلغتك بالكامل.
حول هذه الدورة
Writing reusable and flexible code starts with mastering function definitions. Understanding how to manage function inputs is crucial for creating professional and reliable Python programs.
This course teaches you the fundamental principles of defining Python functions, focusing specifically on managing inputs using positional, keyword, and optional arguments. You will learn the best practices for structuring functions that are easy to read, maintain, and adapt across different projects.
What you'll learn:
* Understand the roles of positional and keyword arguments in function calls.
* Master the syntax for defining optional arguments using default values.
* Apply modern Python type hints to functions for improved readability and debugging.
* Learn how to use variable positional (*args) and keyword arguments (**kwargs) for maximum flexibility.
* Practice defining clear function signatures that enforce proper input handling and logic.
The course begins by establishing foundational concepts of function definition and input flow. We then move into practical examples and exercises focused on defining flexible function signatures and utilizing modern quality standards.
This course is designed for absolute beginners to Python programming or those who need a solid refresher on function definition mechanics. No prior programming experience is required.
Start writing powerful, self-contained functions today.
ما الذي ستحصل عليه
-
📜
شهادة إتمام
أضفها إلى ملفك على LinkedIn -
💬
مدرّس AI شخصي
عالق في دورة؟ اسأل مدرّسك المدمج أي شيء، في أي وقت. -
🎧
النسخة الصوتية مضمَّنة
تعلَّم أثناء تنقُّلك — دون شاشة -
♾️
وصول مدى الحياة
عُد متى شئت، بلا انتهاء -
📱
الهاتف أو الكمبيوتر
يعمل في أي مكان وعلى أي جهاز -
💸
استرداد خلال 14 يومًا
دون أسئلة -
⚡
قصير ومركَّز
2 ساعة 30 دقيقة من المحتوى التطبيقي
المراجعات
لا توجد مراجعات بعد — كن أول من يشارك تجربته.
الأسئلة الشائعة
ما الذي أحتاجه لأخذ هذه الدورة؟ +
يكفي هاتف أو كمبيوتر متصل بالإنترنت. بدون تثبيتات أو أجهزة خاصة.
كيف يمكنني الدفع؟ +
بالبطاقة عبر Stripe. لا نخزن بيانات البطاقة — يتولى Stripe ذلك بأمان.
هل يمكنني استرداد المال؟ +
نعم — استرداد كامل خلال 14 يومًا، دون أسئلة.
إلى متى يستمر وصولي؟ +
إلى الأبد. بمجرد الشراء، الدورة لك تعود إليها متى شئت.
هل سأحصل على شهادة؟ +
نعم. عند الإتمام ستحصل على شهادة يمكنك إضافتها إلى ملفك في LinkedIn.
مصمَّم للعاملين في
التقنية
التصميم
المالية
التسويق
الرعاية الصحية
التعليم
الضيافة
التصنيع
×2
اشحن مرة واحدة وادفع النصف
أضف 36 000 ֏ واحصل على 200 رصيد، بحيث تكلف كل دورة حوالي 4 500 ֏. لا تنتهي صلاحية الأرصدة أبداً.
36 000 ֏
200 رصيد
4 500 ֏ / دورة
أفضل قيمة
90 000 ֏
550 رصيد
4 091 ֏ / دورة
180 000 ֏
1200 رصيد
3 750 ֏ / دورة
الرصيد يصلح لأي دورة ولا ينتهي.