Square(n) Sum – Codewars
Today I completed the “Square(n) Sum” kata on Codewars!
Today I completed the “Square(n) Sum” kata on Codewars!
Today I completed the “Rock Paper Scissors” kata on Codewars!
Today I completed the “Sentence Smash” kata on Codewars!
Today I completed the “What’s the real floor?” kata on Codewars!
Today I completed the “L1: Set Alarm” kata on Codewars!
Today I completed the “Odd or even?” kata on Codewars! I began with a for loop to run through the contents of a provided array and sum their total. Then I used the modulo operator to check if the total value was even, and return the corresponding value. Here is the final code!
Recent Comments