Hacker News new | past | comments | ask | show | jobs | submit login

You can do one liners with lambda functions in Python. e.g:

lambda x: x*2

http://diveintopython.org/power_of_introspection/lambda_func...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: