+ 1
op
For what there is the "1" in the 6 line after bracket of function sum? https://code.sololearn.com/c3CLZ3Jlq4Ls/?ref=app
5 Antworten
+ 1
It is returning 1 if any item in list satisfies the conditions
+ 1
O thank you
+ 1
does it add 1 to the variable k?
+ 1
Yes