Loading Activity...

Python Lists
Drag & Drop Fruits

Build a Python list by dragging fruit strings into the list slots. The visual fruit pile updates to match your list, so you can see how order and length work.

📦

Build a List

Drag fruit values into the square brackets to create mylist.

🔢

Order Matters

The first item is at index 0, just like a real Python list.

🗑️

Remove Items

Drag fruits back to the bank or into trash to remove them from the list.

Interactive Exercise

Drag fruits into the slots to change the Python list.

Build the List

Drag fruit strings into the slots inside the Python list.

mylist = [ ]
Fruit Bank
Tip: To remove an item from the list, drag it back into this box or into Trash.
Trash
Drop a fruit here to remove it from the list. It will return to the fruit bank so you can use it again.
Visual Fruit Pile

Next Step

Return to the Lists lesson or continue to loops.

📦
0
Lists Lesson

Go back to the full Python lists lesson and coding challenge.


Back to Lists →
🔁
0
For Loops

Move on to repeating actions with Python for loops.


Loops Lesson →