Why do I have braces and wear glasses?
为什么我要系上背带戴上眼镜?
I used to have to wear braces.
我以前不得不戴牙箍。
You can indicate a class by surrounding it in square braces; within the braces, you can have both a set of characters and character ranges indicated with a dash.
可以通过将类括在方括号内来表明这是一个类;在括号中,可以有一组字符或者用破折号指定的字符范围。
So let me challenge you with this: inside of these curly braces where I have put a comment with slash slash -- a "comment" means nothing here gets compiled, it's just for the human to read.
让我用这个来挑战你们:,在这些花括号里面,我通过双斜杠写入了一个注释,-一条“注释“在这里不会被编译,它只是用来我们阅读的。
So when you define a function, you have, as we've seen these curly braces, that define all ; of the code that's associated with that function; open curly brace code, close curly brace, that is the function.
当你定义一个函数,就像我们看到的这些花括号,定义了与,那个函数相关的所有代码;,左花括号,代码,右花括号,这就是一个函数。
So we have if, and that is followed by, I'm going to use angle braces here just to indicates something goes in here, some test followed by a colon.
那么我写了if,后面跟着,我这里会用一个角括号,来代表这里有些东西,冒号后面跟着一些测试。
应用推荐