Beginner Coding with Blocks
Chapter
>
Level

Lists and Collections
Combining String Lists

Objective

Collect several fruits and a jar and put them together in a list so you can combine them into fruit juice.

Just like with numeric lists you can also combine string lists and use the combinations to produce other materials.

First, grab the empty jar and walk to the dark X marks so you can also collect some water using the collect block with "water". Afterwards store these materials in a list named base using the create list with block with two text blocks: "jar" and "water".

Afterwards collect the four (4) different fruits found in the field and store them in their own list named fruits in the same manner as the previous list. The fruits in question are: "orange", "apple", "pear" and "peach". Use the create list with block with four text blocks containing these fruit names.

Once lists have been set up, head over to the light X mark so we may combine the items into a new substance. First add the two lists together using the add math block. Connect base and fruits to create a single list named mixture.

While standing on the X mark while facing the blanket, use the combine block with the mixture variable. This will allow you to create fruit juice and complete the level.

Code book