Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

提议可以这样定义Lambda #40

Open
yorkzero831 opened this issue Feb 8, 2020 · 3 comments
Open

提议可以这样定义Lambda #40

yorkzero831 opened this issue Feb 8, 2020 · 3 comments

Comments

@yorkzero831
Copy link

老王装寻思点啥瓶:
唠唠:瓶
寻思完了

老王寻思白酒

output:白酒

@zhanyong-wan
Copy link
Owner

lambda 是匿名函数。你这是有名的?

@suxpert
Copy link

suxpert commented Feb 13, 2020

我有个提议,简单的比如
lambda x: func(x)
干哈呢吧(老王)就套路(老王)

@suxpert
Copy link

suxpert commented Feb 13, 2020

然后

map(lambda x: len(x), abc)

可以是

整个浪儿的(干哈呢吧(老王)就老鼻子(老王),王家村)

之类的。map 的候选还有:麻溜的、可劲儿造、掰扯掰扯……

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants