列表推导式(list comprehension)是一种方便简洁的语法形式,我们可以利用它将一个列表经过滤后转换成另一个列表,也可以利用它将函数应用于列表中的元素。
基于348个网页-相关网页
列表解析(list comprehension):这个词有多种翻译,也可能是列表推导式等。它非常强大,其构造一个由逻辑代码生成的对象的列表,也就是说对于列表中每个对象执...
基于200个网页-相关网页
表理解(list comprehension):一种快速生成表的方式,对于L = [x**2 for x in range(10)],相当于: L = [] for x in range(10):
基于106个网页-相关网页
以上来源于: WordNet
Queries are expressed using a so-called "list comprehension syntax".
查询通过被称为“列表领悟(List Comprehension)语法”的方式表达。
The last line of load_biz_rules performs list comprehension to build and return a list of functions.
load_biz _ rules的最后一行执行了一次列表推导(list comprehension),构建并返回一个函数列表。
If it was possible he could write it within a few hours with Python's neat data structures such as list and dictionary, neat functional programming features such as list comprehension.
如果可行,他就可以在几小时之内,用Python整洁的列表和字典等数据结构,以及列表理解(list comprehension)等整洁的函数编程功能来编写这个代码。
And what this means is that any theory of language use and language comprehension cannot simply appeal to a list.
这也就意味着,任何语言使用和语言理解的理论,都无法列出一份句子的清单
应用推荐