Just came back to python after several years in javascript. I've found that the functions you need are often already provided in the standard library (for example the `operator` module[1]).
So where in javascript you would write:
const double = x => x * 2
In python you can simply write: from operator import mul
double = mul(2)
[1]: https://docs.python.org/2/library/operator.html