Draft

Sum of all arguments.

539 of 1,110user9800995

Description:

Calculate the sum of all the arguments passed to a function.

Note: If any of the arguments is not a finite number the function should return false/False instead of the sum of the arguments.

For example:

sum(1,2,3,4)         should return 10
sum(1, "two", 3)     should return false
sum(1, 2, [3], NaN)  should return false

Stats:

CreatedAug 30, 2015
Warriors Trained2139
Total Skips232
Total Code Submissions7689
Total Times Completed1110
JavaScript Completions539
Python Completions408
Ruby Completions187
CoffeeScript Completions7
Total Stars24
% of votes with a positive feedback rating86% of 320
Total "Very Satisfied" Votes254
Total "Somewhat Satisfied" Votes43
Total "Not Satisfied" Votes23
Total Rank Assessments325
Average Assessed Rank
7 kyu
Highest Assessed Rank
2 kyu
Lowest Assessed Rank
8 kyu
Ad
Contributors
  • user9800995 Avatar
  • GiacomoSorbi Avatar
  • itsgreggreg Avatar
  • Chrono79 Avatar
  • FArekkusu Avatar
Ad