reset password
Author Message
jungsoolim
Posts: 38
Posted 01:19 Feb 09, 2019 |

Can we use functools and operator modules for Python implementation?

Thanks!

rabbott
Posts: 1649
Posted 11:09 Feb 09, 2019 |

Yes.

Of course, don't use a function in functools as your implementation of an equivalent function. In particular, don't use functools.reduce to define the fold functions. 

Last edited by rabbott at 15:01 Feb 10, 2019.