7 kyu
Basic Math (Add or Subtract)
2,684 of 6,700nza
Description:
In this kata, you will do addition and subtraction on a given string. The return value must be also a string.
Note: the input will not be empty.
Examples
"1plus2plus3plus4" --> "10"
"1plus2plus3minus4" --> "2"
Strings
Fundamentals
Similar Kata:
Stats:
Created | Oct 21, 2016 |
Published | Oct 21, 2016 |
Warriors Trained | 13531 |
Total Skips | 426 |
Total Code Submissions | 29949 |
Total Times Completed | 6700 |
Ruby Completions | 310 |
JavaScript Completions | 3246 |
Python Completions | 2684 |
C++ Completions | 282 |
Haskell Completions | 54 |
C Completions | 119 |
NASM Completions | 7 |
C# Completions | 188 |
Lua Completions | 7 |
Total Stars | 159 |
% of votes with a positive feedback rating | 90% of 1081 |
Total "Very Satisfied" Votes | 897 |
Total "Somewhat Satisfied" Votes | 160 |
Total "Not Satisfied" Votes | 24 |
Total Rank Assessments | 14 |
Average Assessed Rank | 7 kyu |
Highest Assessed Rank | 6 kyu |
Lowest Assessed Rank | 8 kyu |