7 kyu
Basic Math (Add or Subtract)
303 of 6,390nza
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 | 12795 |
Total Skips | 411 |
Total Code Submissions | 28931 |
Total Times Completed | 6390 |
Ruby Completions | 303 |
JavaScript Completions | 3131 |
Python Completions | 2524 |
C++ Completions | 266 |
Haskell Completions | 52 |
C Completions | 111 |
NASM Completions | 6 |
C# Completions | 164 |
Total Stars | 147 |
% of votes with a positive feedback rating | 90% of 1070 |
Total "Very Satisfied" Votes | 886 |
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 |