因此如果调用者不了解实现方式,通常应该遍历列表元素,这比指定下标位置更可取。
Thus, iterating over the elements in a list is typically preferable to indexing through it if the caller does not know the implementation.
下标字符:较内文字为细的字母或数字,放置于基线或更低位置。
Inferior characters: Letters or Numbers which are smaller than text size and are positioned on or below the baseline.
用户可以通过整数下标(列表中的位置)访问、查找列表中的元素。
The user can Access elements by their integer index (position in the list), and search for elements in the list.
应用推荐