Python Lists, Indexes, append and len for Beginners | Python for Absolute Beginners 05
Beginner-level Programming video in Tamil by Programming Line, 5 minutes long, published 6 Oct 2026.
Keep several values together with a Python list. Using fictional expenses, this beginner lesson creates a list, selects its first item, appends a value, and counts the items with len. Then run the unchanged program again to understand why each fresh run starts with the original list. You will learn: - How square brackets and commas create a list - Why the first index is zero - How indexing differs from creating a list - How append adds a value at the end - Why length counts items rather than their total cost Predict each result, then check the real terminal output. For the exercise, append 25 and print the second expense. Use only the fictional whole-rupee values supplied. CHAPTERS 00:00 Welcome to lists 00:25 Create a list and predict 00:51 Run the complete list 01:01 Understand positions and indexes 01:24 Select the first item 01:44 Check the first item 01:57 Append a value and predict 02:22 Check the appended value 02:34 Count the items 02:52 Check the count 03:05 Predict a fresh run 03:16 Run the unchanged program 03:38 Your turn 04:02 Make and run the practice changes 04:33 Check the practice result 04:43 Recap and next lesson NEXT LESSON Use a for loop to process every expense and build a running total. Official references: https://docs.python.org/3.12/tutorial/introduction.html#lists https://docs.python.org/3.12/tutorial/datastructures.html#more-on-lists https://docs.python.org/3.12/library/functions.html#len Programming Line | Python for Absolute Beginners Narration: Simran, an AI-generated voice. The lesson uses genuine screen-recorded Python demonstrations. #Python #PythonForBeginners #ProgrammingLine…more
Keep several values together with a Python list. Using fictional expenses, this beginner lesson creates a list, selects its first item, appends a value, and counts the items with len. Then run the unchanged program again to understand why each fresh run starts with the original list. You will learn: - How square brackets and commas create a list - Why the first index is zero - How indexing differs from creating a list - How append adds a value at the end - Why length counts items rather than their total cost Predict each result, then check the real terminal output. For the exercise, append 25 and print the second expense. Use only the fictional whole-rupee values supplied. CHAPTERS 00:00 Welcome to lists 00:25 Create a list and predict 00:51 Run the complete list 01:01 Understand positions and indexes 01:24 Select the first item 01:44 Check the first item 01:57 Append a value and predict 02:22 Check the appended value 02:34 Count the items 02:52 Check the count 03:05 Predict a fresh run 03:16 Run the unchanged program 03:38 Your turn 04:02 Make and run the practice changes 04:33 Check the practice result 04:43 Recap and next lesson NEXT LESSON Use a for loop to process every expense and build a running total. Official references: https://docs.python.org/3.12/tutorial/introduction.html#lists https://docs.python.org/3.12/tutorial/datastructures.html#more-on-lists https://docs.python.org/3.12/library/functions.html#len Programming Line | Python for Absolute Beginners Narration: Simran, an AI-generated voice. The lesson uses genuine screen-recorded Python demonstrations. #Python #PythonForBeginners #ProgrammingLine