Welcome to Day 10 of our 21 Days to Learn Python series!
Today, we will learn about Lists in Python.
A List is used to store multiple values in a single variable.
Example Code
fruits = ["Apple", "Banana", "Orange"]
print(fruits)
print(fruits[0])
Output
['Apple', 'Banana', 'Orange']
Apple
Why Use Lists?
✅ Store multiple values
✅ Access data using an index
✅ Easy to manage collections of data
✅ Widely used in real-world applications
Real-Life Examples
🛒 Shopping Cart
👨🎓 Student List
📞 Contact List
📦 Product Inventory
💡 Tip of the Day:
Lists help you organize and manage multiple pieces of data efficiently.
Join us tomorrow for Day 11 – For Loop with Lists.
📞 +91 97402 94141
📧 [email protected]
🌐 www.terraai.solutions
Terra AI Solutions
Intelligence for a Smarter World.
#Python #LearnPython #PythonForBeginners #PythonLists #Coding #Programming #PythonTutorial #TerraAISolutions #LearnCoding