Create a List of Numbers from 1 to 10 Using For Loop

Опубликовано: 15 Апрель 2026
на канале: DESKDOTCOM Academy
18
0

Welcome to this short Python tutorial! 🐍
In this video, you will learn how to create a list of numbers from 1 to 10 using a simple for loop and the append() method.

We break down each line of code so beginners can easily understand how loops and list operations work in Python.

🔍 What you’ll learn:

How to initialize an empty list

How to use a for loop with range()

How to add elements to a list using append()

How the list is built step by step
👉 Perfect for Python beginners and students learning basic loops and list handling.

💡 Subscribe for more easy-to-follow Python programming tutorials!

#Python #LearnPython #PythonForBeginners #ForLoop #PythonList #Shorts