APCSP20: AAP-1.D.7
CodeHS Lessons
The exam reference sheet provides the notation [value1, value2, value 3…] to create a list with those values as the first, second, third… items. For example, aList ← [value1, value2, value3,...] - creates a new list that contains the values value1, value2, value3, and … at indices 1, 2, 3, and … respectively and assigns it to aList. aList [] – creates a new empty list and assigns it to aList. aList bList – assigns a copy of the list bList to the list aList. For example, if bList contains [20, 40, 60], then aList will also contain [20, 40, 60] after the assignment.
| Standard |
| 7.1 Intro to Lists/Arrays |
| Standard |
| 7.1 Introduction to Lists |
| 7.3 AP List Operations |
| Standard |
| 7.1 Intro to Lists/Arrays |
| Standard |
| 6.1 Intro to Arrays and Accessing an Element in an Array |
| Standard |
| 7.1 Intro to Lists/Arrays |
| Standard |
| 6.1 Intro to Lists/Arrays |
| Standard |
| 6.1 Intro to Lists/Arrays |
| Standard |
| 5.2 Lists |
| Standard |
| 6.2 Lists |
| Standard |
| 4.2 Lists |
| Standard |
| 4.2 Lists |
| Standard |
| 7.2 Lists |
| Standard |
| 4.1 Intro to Lists/Arrays |