notation for list 列表的记号
Finally, we can use pattern matching to pull out the elements from a list or tuple using the construct notation mentioned earlier.
最后,可以按前面提到的构造表示方法,使用模式匹配从列表或元组中提取元素。
Defining axes and points is fairly obvious once you recognize the Python-like slice notation to create a list of Numbers.
定义数轴和端点,如果您识得创建一列数字的类Python片段符号,这是相当显而易见的。
Thus, you can create a list using a constructor, in addition to the shorthand notation of using the square brackets.
因此,使用构造函数及方括号简化符号,可以创建list。
应用推荐