+ 5
filter / map... What happened with reduce() ?
Apparently the reduce() function does not exist in python 3.x.. if it works in Python 2.7??
2 odpowiedzi
+ 8
from functools import reduce
+ 2
ok .. not eliminated, now it is not global but is in a library
https://code.sololearn.com/cekXLEj6M9oH/?ref=app