Anonymous function
Using lambda create an anonymous function.
1, lambda is just an expression, instead of a code block
2, the package can only limited lambda expressions logic
3, lambda function has its own namespace
Usually in the form of - lambda arguments: expression
Derivation of Formula
1, Formula derivation list
Quickly generate a list of ways
2, the derivation Dictionary
{} This symbol may be used not only in the dictionary derivation, can also be used in the derivation of the set.
Examples of derivation of the dictionary must be a colon:
Set by derivation, are connected
3, the set of derivation
4, a tuple -directed
Wherein deriving a tuple, only () it is not enough, but also need to add parentheses tuple before! ! !
Here (10) because there is an anonymous function is invoked when Jiang Zi