Technology ยท Topic 39 of 59
Lists in Coding
โญ MasteredA list stores several items in a single variable, in a set order. Each item can be found by its position, starting from zero in many languages.
๐ก Fun fact
A shopping list in an app works like a coding list.
All about Lists in Coding
A list stores several items in one variable in a set order. Each item can be found by its position, which often starts at zero in many languages.
Lists are used for shopping lists, high scores and many other collections of data.
๐ฎ Try it yourself!
Loadingโฆ
Real-life uses of Lists in Coding
- Storing game high scores
- Managing contacts in an app
- Sorting data
Frequently asked questions about Lists in Coding
What does a list store?
Several items in one variable.
Where does the first item sit?
At position zero in many languages.