المتغيرات و الثوابت في بايثون Variables and Constants in Python
برمجة بايثون | Python programming برمجة | Programming
جامعة الاسكندرية
- 2025-04-20
المتغيرات و الثوابت في بايثون Variables and Constants in Python
في الفيديو ده هنتعرف مع بعض على واحدة من أهم المفاهيم الأساسية في أي لغة برمجة: المتغيرات (Variables) والثوابت (Constants) في لغة بايثون.
هنعرف يعني إيه متغير، وإزاي نستخدمه لتخزين البيانات زي الأرقام، النصوص، والقيم المنطقية. وهنشوف كمان إزاي نكتب أسماء متغيرات بطريقة صحيحة، وإيه هي القواعد اللي لازم نلتزم بيها.
بعد كده هنتكلم عن الثوابت، وليه رغم إن بايثون مفيهاش ثوابت “حقيقية”، بنستخدم طرق معينة علشان نحدد قيم مش مفروض تتغير طول الكود.
هنشتغل مع أمثلة عملية وواضحة
وهنشوف إزاي نطبعهم، نغير قيم المتغيرات، ونتعامل مع الثوابت بطريقة احترافية.
الفيديو مناسب جدًا للمبتدئين، وهيساعدك تبني أساس قوي تفهم بيه الكود بشكل أوضح.
---------------------
Variables and Constants in Python
In this video, we'll explore one of the most fundamental concepts in programming: Variables and Constants in Python.
We'll cover:
-
What variables are and how to use them to store data (numbers, text, boolean values)
-
Naming rules & best practices for writing clean, readable variable names
-
Constants in Python – and why, despite Python not having "true" constants, we use specific conventions to define values that shouldn’t change
-
Practical examples of printing, modifying variables, and working with constants professionally
This video is perfect for beginners and will help you build a strong foundation for writing clear and efficient code!
هل كان الشرح مفيد؟
محمد السيد
- 5/5