List: a list is an ordered collection of potentially duplicate objects.
列表型:列表是一个有序可重复的对象集合。
You can then access elements from the ordered collection you've just obtained.
接下来您可以访问刚才所获得的顺序集合中的元素。
A string is a sequence, which means it is an ordered collection of other values.
一个字符串是一个序列,意味着是对其他值的有序排列。
And the nice thing is that there's a shared behavior there. Just as I can have tuples as an ordered collection of things, strings behave as an ordered collection of things.
共享的行为,就像元组是有序的元素序列,字符串也是有序的元素序列,因此我可以对字符串做同样的操作,我可以把它们连结起来。
应用推荐