AP Computer Science Principles
A list, also known as an array or a collection, is a data structure that holds a sequence of elements. In AP Pseudocode, it allows storing multiple values under one variable. Each element in the list can be accessed using its index.