Skip to main content
added 98 characters in body
Source Link
Solomon Ucko
  • 1.6k
  • 1
  • 10
  • 17

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).

Source Link
Solomon Ucko
  • 1.6k
  • 1
  • 10
  • 17

In sum_water_refractor you should use len instead of lambda x: len(x).