Every time you see a square bracket, put a paren in. All right?
每次你看到一个方括弧,你就得在此添加一个圆括弧,明白了吗?
Now, I'll come back to that sort of argument in just a minute, but let me bracket that for a moment and say something about Plato.
我们待会儿再回到这个论题上,现在我们暂且先把它放在一边,开始学习柏拉图
OK. And how do I create them? Well, the representation is, following a square bracket, followed by a sequence of elements, separated by commas, followed by a closed square bracket.
就是一个有序的序列,好,那么我们怎么创建元组呢?,好,表达式是,一个方括号,后面是一系列的元素,以逗号分开,以一个闭方括号结束,这就是我刚才所说的。
Well, turns out that with arrays, not to make this too trippy too soon, but Arg V bracket something is a string, you can also use square bracket notation to go to a specific letter in a string, because little teaser a string is just an array.
好的,结果用那个数组,不要使这个很快引起幻觉,但是Argv什么的,是一个字符串,你也可以用方括号定位到,字符串中的一个特定的字母,因为一个字符串只是一个数组。
All right. So, bracket some of those thoughts for a moment.
好了,我们还是把这些思考暂且先搁在一边
Well, Arg V bracket 1, is, in fact, a string.
好的,Argv,实际上是一个字符串。
应用推荐