Retired
Unlimited Sum (retired)
1,604 of 4,586Lordnibbler
Description:
Write a function sum
that accepts an unlimited number of integer arguments, and adds all of them together.
The function should reject any arguments that are not integers, and sum the remaining integers.
sum(1, 2, 3) # => 6
sum(1, '2', 3) # => 4
Mathematics
Fundamentals
Similar Kata:
Stats:
Created | May 9, 2014 |
Warriors Trained | 6855 |
Total Skips | 517 |
Total Code Submissions | 24193 |
Total Times Completed | 4586 |
Ruby Completions | 1604 |
JavaScript Completions | 1553 |
Python Completions | 1597 |
Total Stars | 57 |
% of votes with a positive feedback rating | 89% of 527 |
Total "Very Satisfied" Votes | 440 |
Total "Somewhat Satisfied" Votes | 60 |
Total "Not Satisfied" Votes | 27 |