🐍 Python Lists

Lists are ordered collections of items that you can change (mutable). They can hold different types of data — strings, numbers, or even other lists!

🖥️ Example 1: Creating and Printing a List

Here's how to make a list and print it out.

Output will appear here...

🖥️ Example 2: Accessing List Items & Adding Items

Access list items by index and add new items with append().

Output will appear here...

🖥️ Example 3: Looping Through a List

Use a for loop to print each item in a list.

Output will appear here...
💡 Tip: Lists are super flexible. Use methods like append(), remove(), and len() to work with them efficiently.

📷 Python Lists Visual Guide

Creating a Python List Accessing Python List Items Looping Through Python List