Python Lambda


### function do not need define with no need of name
simple function with remove def, bracket and one line
```type# lambda input : outputname = lambda parameters: function(parameters)name(argument)```

### usually used for functions (for collections)
key variable need function variable (lambda type is 'function')
- sort
```typecollection.sort(key = len)collection.sort(key = lambda c:len(c))```
- filter
```type# return new list of items which return function to true by item parameter filter(function, list)```
- map
- reduce




> [위키독스](https://wikidocs.net/64)







