Python (x) function

Disclaimer: This article is a blogger original article, shall not be reproduced without the bloggers allowed. https://blog.csdn.net/lexi3555/article/details/80700933

1, function design and function calls


2, small function lambda expressions

lambda is used to declare an anonymous function contains only an expression, not allowed to contain other complex statements, the expression evaluates to the return value of the function it is equivalent to


Guess you like

Origin blog.csdn.net/lexi3555/article/details/80700933