As a result, any sequence of strings is also e. g. a sequence of objects.
其结果是,任何一个字符串序列也就是一个对象序列了。
In this way, you can set up a sequence of strings, each being one line from a file.
这样就建立了一个字符串序列,各个字符串分别对应文件中的一行。
The second split method demonstrates using a different token character -- in this case, a colon -- to split a string into a sequence of strings.
第二个 split 方法演示如何使用不同的令牌字符(本例中使用的是冒号)将一个字符串分成一系列字符串。
Well at some level it is an ordered sequence of characters. Right? Now it is not represented this same way. You don't see strings inside these open parens and closed parens.
现在字符串不是用这种方式表达的,你没有看到字符串里有开括号闭括号,字符串中间也没有逗号,但是它有同样的属性。
Strings are captured in Python with an open quote and some sequence of characters followed by a closed quote.
字符串在Python中,是以一个开引号开始,然后后面是一系列的字符,以一个尾引号结束。
应用推荐