A list is a value that holds other values in order. It is written between square brackets, with commas: [0.0, 0.7, 6.9]. Each value is an item of the list. The position of an item is its index, counted from 0: L[0] is the first item, L[1] the second. The length of a list is its number of items, given by len(L).
Computer Science · Begrippenlijst
Wat is List, item, index, length?
Ook bekend als: list · item (of a list) · index · length (of a list)