Getting Started Guide

SCRATCH CODING KIT
List coding activities
List blocks
The block “Replace item 1 in list with ~” changes the value of the item in the list.
As you can see above, the first list has C saved in the position 3. If you use the “ replace item 3 in the list with CC”
block, you can see that the ‘CC’ has replace C in the list.
The “item at position (1) in list” block on the very left is the block that shows the value that I saved in the specific
position. The value of the item at position (1) in the list will be ‘A’ for now. It’s a block hat you can use as a specific
value when you’re coding. The “size of list” block in the idle is the block that shows how many items there are n
the list. Currently value of this block will be 5.
This is because the list we are looking at has 5 items. The block you see on the right, “include () in list?”, is the block
you can use to check if the list has certain value in it. The block “include (A) in list?” will show the value of ‘True,’
but the block “include (F) in the list?” will show the value of ‘False’.
Now shall we take a look at a piano which is the example of usage of list?