Objective: Create an array and count the number of items it contains.
Instructions:
Define the Array:
Create an array variable named
item_listand assign it the values[5, 10, 15, 20, 25].
Count the Items:
Create a new variable named
item_countand 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