Let us now do some activity to understand Arrays.
At the end of this exercise, the final output on the screen should look like as shown in the below screenshot.

You should try this exercise on the Minecraft education edition.

In this activity we will create an array of flowers and calculate the length of the array to create a flight of stairs.

Here are the detailed steps:
Step 1: Teleport the builder to the entered position
Step 2: Make an array named flower
Step 3: Create a variable called length which is the length of the array flower
Step 4: Start a for loop which will run as many times as the length of the array
Step 5: Move the builder forward by 1 step and then up by 1 step
Step 6: Finally, the builder traces the path travelled and puts a block on the position
Step 7: When you hit play you will that there is a golden stair created.
Performing the activity using block codes:
