Lists
An ordered collection of values under one name, reached by position and able to grow, shrink and change - how a program keeps many values of the same kind.
Depth 1 · Foundation
You can build a list, read and change items by index from 0, loop over it, add and remove items, split text into a list and join it back, and you know the difference between changing a list in place and making a new one.
Sign in to prove what you know with a short quiz, see how deep you've gone, and earn XP for it.
Sign in with GoogleDepths of understanding
- 1
Foundation
You can build a list, read and change items by index from 0, loop over it, add and remove items, split text into a list and join it back, and you know the difference between changing a list in place and making a new one.
Your path here
What's still between you and Lists, depth 1, in the order you can learn it.
- 1ProgramDepth 1 · Foundation · Program Basics
- 2ExpressionDepth 1 · Foundation · Program Basics
- 3Variables in codeDepth 1 · Foundation · Program Basics
- 4Program stateDepth 1 · Foundation · Program Basics
- 5Input and outputDepth 1 · Foundation · Program Basics
- 6Functions in codeDepth 1 · Foundation · Functions
- 7Return valuesDepth 1 · Foundation · Functions
- 8BooleansDepth 1 · Foundation · Control Flow
- 9ConditionalsDepth 1 · Foundation · Control Flow
- 10LoopsDepth 1 · Foundation · Control Flow
- 11Accumulator patternDepth 1 · Foundation · Control Flow
- 12Floating-point numbersDepth 1 · Foundation · Data Types
- 13Basic typesDepth 1 · Foundation · Data Types
- 14Character encodingDepth 1 · Foundation · Data Types
- 15StringsDepth 1 · Foundation · Data Types
- 16ListsDepth 1 · Foundation · Data Structures
Where it fits
Makes these deeper
Once you know Lists, come back to these — they'll mean more.