So smart!

• igshipilovcommented on "Sum of positive" javascript solution

While learning I heared from my teachers that despite `reduce` can replace both `map` and `filter` by itself, it is still best practice to separate these functions, while we are working on the code.

• bertramrayhancommented on "Grasshopper - Messi goals function" python solution

it is called args. args is a tuple

• OmarElsayed935commented on "Grasshopper - Messi goals function" python solution

This comment is hidden because it contains spoiler information about the solution

• goldenratio161commented on "Unwanted dollars" python solution

i feel so dumb

• dvolvecommented on "Beginner Series #3 Sum of Numbers" java solution

yeah nice, but it's missing the case in which both a and b are negative

• Alexenoncommented on "Sum of Two Integers " java solution

This should be voted as the most clever solution!

lol what

• 93r8fcommented on "Grasshopper - Messi goals function" python solution

Now you've been 3 years with Python and 2 Kyu. Not bad.

• ohoohcommented on "Grasshopper - Messi goals function" python solution

I KNEW this would be the top answer. I was like "there's definitely a way to access all of the arguments in a function." But I just didn't know it, so I just did return var1 + var2 + var3 lol.

This is good to know. I often use list = [*string] when I can't figure out how to adjust a string the way I need to so I was aware of this syntax, but didn't know it could be used in this way.

That's smart

• RealSam75kcommented on "Beginner Series #3 Sum of Numbers" java solution

This comment is hidden because it contains spoiler information about the solution

• TheKusanaGicommented on "Grasshopper - Messi goals function" python solution

anyway did u get a job yet ?

• rspxcommented on "Grasshopper - Messi goals function" python solution

would be nice to apply lambdas here, or? ;-)

very clear:)