Tutorials index

Blockly Lists

Programming languages, like Blockly, store values in variables. Sometimes there are a lot of related variables. Instead of having to create separate variables for each one we can use lists.

Here is a video explaining how to make and use your own lists:
Blockly Lists (basics)

Once you understand what a list is you will find that they work well with loops. In fact, in Blockly there is a special loop for iterating through lists.

Here is a video showing how to combine list and loop code blocks:
Lists and Loops

If you wish to try out anything you have learnt in these videos you can do so in the Red Turtle Play Ground:

Try this out in a new window ...

Tutorials index



Did you know the UK Bebras Challenge is run by the Raspberry Pi Foundation? Discover free teaching resources, tools, and expert support for computing education at raspberrypi.org.