摘要:
单个参数的:g = lambda x:x*2print g(3)结果是6多个参数的:m = lambda x,y,z: (x-y)*zprint m(3,1,2)结果是4 阅读全文
摘要:
map(function,iterable,...) Applyfunctionto every item ofiterableand return a list of the results. If additionaliterablearguments are passed,functionmust take that many arguments and is applied to the items from all iterables in parallel. If one iterable is shorter than another it is assumed to be e. 阅读全文
摘要:
33H4F-QG8YV-WVM7G-H3Y7Y-J2T4Q 阅读全文