البرمجة الشرطية في بايثون Conditional statements
برمجة | Programming برمجة بايثون | Python programming
جامعة الاسكندرية
- 2025-04-20
البرمجة الشرطية في بايثون Conditional statements
الشروط في البايثون و ال Conditional operators
في الفيديو ده هنتعلم واحدة من أهم المفاهيم الأساسية في البرمجة وهي البرمجة الشرطية باستخدام لغة بايثون، واللي بتخلينا نتحكم في سير البرنامج ونخليه يتصرف بشكل مختلف حسب الشروط.
هنبدأ بشرح جمل الشرط الأساسية:
-
if
-
if-else
-
elif
وهنفهم إزاي نستخدمهم علشان ننفذ كود معين بناءً على تحقق شرط معين أو لا.
هنشتغل مع أمثلة عملية
وهنوضح إزاي نكتب الشروط باستخدام المقارنات والعوامل المنطقية (and – or – not).
البرمجة الشرطية هتفتحلك باب كبير لكتابة برامج تفاعلية وذكية، زي أنظمة تسجيل الدخول، أو التفاعل مع المستخدم بناءً على المدخلات.
الفيديو مناسب جدًا لأي مبتدئ عايز يفهم منطق اتخاذ القرار داخل الكود، وده أساس أي برنامج احترافي.
----------------------
Conditional Programming in Python - Conditional Statements & Operators
In this video, we'll learn one of the most fundamental programming concepts - conditional programming using Python, which allows us to control program flow and make it behave differently based on conditions.
We'll start by explaining basic conditional statements:
-
if
-
if-else
-
elif
We'll understand how to use them to execute specific code based on whether conditions are met or not.
We'll work with practical examples and demonstrate how to write conditions using comparison and logical operators (and, or, not).
Conditional programming will open doors to writing interactive and intelligent programs, like login systems or user interaction based on inputs.
This video is perfect for any beginner wanting to understand decision-making logic in code - the foundation of any professional program.
هل كان الشرح مفيد؟

- 5/5
شروحات مشابهة
- برمجة | Programming
- برمجة بايثون | Python programming
- برمجة سي شارب | c# programming
- برمجة جافا | Java programming
- برمجة بي اتش بي | Php programming
- برمجة html | Html programming
- برمجة سي اس اس | Css programming
- بوربوينت | ms Power Point
- برامج اوفيس | ms Office
- حاسب الي | Computer
- تصميم | Design
- شبكات | Networks
- اتصالات | Communications