Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
In sum_water_refractor you should use len instead of lambda x: len(x). There is no point in using a lambda if you don't change anything (number or value of parameters).
In sum_water_refractor you should use len instead of lambda x: len(x).
In sum_water_refractor you should use len instead of lambda x: len(x). There is no point in using a lambda if you don't change anything (number or value of parameters).