List (Text)
How Can We Help?
Teacher,
Cat enthusiast
- The 2022 End of Year Website Update - 01/01/2023
- Celebrating Ada Lovelace day - 10/10/2022
- Website update 5/9/22 - 05/09/2022

The list block allows us to store similar things together as one complete item.
This list block allows us to store similar words, text or characters together.
NB – It is important to note that this block simply stores these similar values. To change the values or see what values are in this list on the console we will need to use more code.
Each of the items in our list can be shown as a whole, individually and anything in our list can be changed or deleted.
Example

This list which is stored as fruits, contains 3 fruits – apple, banana and cherry.
The generated Python code looks like this:

Inputting this code into repl or any other Python IDE will not produce anything on the screen when we run it. We need to use more code to show it or manipulate our list.