8 kyu
Exclamation marks series #1: Remove an exclamation mark from the end of string
11,928 of 31,927myjinxin2015
Description:
Description:
Remove an exclamation mark from the end of a string. For a beginner kata, you can assume that the input data is always a string, no need to verify it.
Examples
"Hi!" ---> "Hi"
"Hi!!!" ---> "Hi!!"
"!Hi" ---> "!Hi"
"!Hi!" ---> "!Hi"
"Hi! Hi!" ---> "Hi! Hi"
"Hi" ---> "Hi"
Fundamentals
Strings
Similar Kata:
Stats:
Created | Oct 10, 2016 |
Published | Oct 10, 2016 |
Warriors Trained | 44406 |
Total Skips | 3244 |
Total Code Submissions | 113300 |
Total Times Completed | 31927 |
JavaScript Completions | 14185 |
Python Completions | 11928 |
CoffeeScript Completions | 32 |
Ruby Completions | 1204 |
Crystal Completions | 36 |
PHP Completions | 1697 |
Haskell Completions | 528 |
C# Completions | 1698 |
TypeScript Completions | 849 |
C Completions | 550 |
COBOL Completions | 11 |
BF Completions | 46 |
Scala Completions | 30 |
Total Stars | 320 |
% of votes with a positive feedback rating | 92% of 3648 |
Total "Very Satisfied" Votes | 3111 |
Total "Somewhat Satisfied" Votes | 482 |
Total "Not Satisfied" Votes | 55 |
Total Rank Assessments | 11 |
Average Assessed Rank | 7 kyu |
Highest Assessed Rank | 7 kyu |
Lowest Assessed Rank | 8 kyu |