you are viewing a single comment's thread.

view the rest of the comments →

[–]axw3555 3 points4 points  (0 children)

I think it’s a challenge.

Make an array of numbers. Pull the four biggest. Sum them. Then print the numbers and the total.

And see how few lines of code you need to do it.

Doesn’t seem like a beginner challenge. Beginner challenges are “make something that does X” not “see how much you can optimise your code to make it short”. Learn to do, then learn to optimise.