Objective: Create an array and count the number of items it contains.
Instructions:
Define the Array:
Create an array variable named
item_list
and assign it the values[5, 10, 15, 20, 25]
.
Count the Items:
Create a new variable named
item_count
and use a filter to calculate the number of items initem_list
.
Submit your result contained in the variable
item_count
.
Expected Result:
Submit the variable item_count
as your answer. See example below:
Install the snippet to get started: https://www.xano.com/snippet/XwN5GThx