Please enable JavaScript to use CodeHS

APCSP20: AAP-2.O.3

CodeHS Lessons

The exam reference sheet provides FOR EACH item IN aList { <block of statements> } The variable item is assigned the value of each element of aList sequentially, in order from the first element to the last element. The code in block of statements is executed once for each assignment of item.

Standard
7.7 Removing an Element From an Array
Standard
7.7 Removing an Element From an Array