Every time you see a square bracket, put a paren in. All right?
每次你看到一个方括弧,你就得在此添加一个圆括弧,明白了吗?
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什么的,是一个字符串,你也可以用方括号定位到,字符串中的一个特定的字母,因为一个字符串只是一个数组。
应用推荐