Python Indexing Explained: Rules for Beginners (شرح قواعد الفهرسة في بايثون) #1
Intuidemy
0:00 / 0:00
Python Indexing Explained: Rules for Beginners (شرح قواعد الفهرسة في بايثون) #1
43 просмотра · 2 года назад
Intuidemy
628 подписчиков
43 просмотра · 2 года назад
Understanding how indexing works is crucial for any Python developer! In this video, we break down the rules of Python Indexing and how to access specific characters or elements within a string.
📌 What you will learn (ما ستتعلم في هذا الدرس):
Zero-based Indexing: Why Python starts counting from 0, not 1.
Accessing Characters: Using square brackets [] to pull specific data.
Handling Spaces: How Python treats blank spaces in indexing.
The len() Function: Using len() to find the length of your strings.
Looping through Indexes: A quick look at using for loops and range() for indexing.
💻 Practice with us: Try indexing your own name in Python and let us know in the comments if you have any questions!
🔔 Subscribe to Intuidemy for more simple and direct Python tutorials. اشترك في القناة لتصلك باقي دروس سلسلة تعلم بايثون للمبتدئين!
GitHub (Source Code): https://github.com/rubada/Learn-Pytho...
📺 Full NumPy Playlist: • 01b. Python for Beginners. Strings. بايثون...
The link below shows how to download a repository on your computer.
• Github, Fork and Clone Repository.
00:00 Channel Intro
00:14 Introduction to Python Indexing (مقدمة عن الفهرسة)
01:05 The Zero-Base Rule: Starting from 0 (القاعدة الأساسية)
01:52 Practical Example: Accessing Characters (أمثلة عملية)
02:42 Indexing Spaces in Strings (التعامل مع المسافات)
03:37 Using the len() Function (استخدام دالة len)
04:56 Advanced: Indexing with For Loops (الـ Indexing مع حلقات التكرار)
07:00 Using Loops directly on Strings (طريقة بديلة للتكرار)
07:50 Summary & Next Lesson (ملخص الفيديو والدرس القادم)
#pythonforbeginners #PythonIndexing #PythonStrings #PythonTutorials #تعلم_بايثون_للمبتدئين # الفهرسة_في_بايثون