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

Stats:

CreatedOct 10, 2016
PublishedOct 10, 2016
Warriors Trained44406
Total Skips3244
Total Code Submissions113300
Total Times Completed31927
JavaScript Completions14185
Python Completions11928
CoffeeScript Completions32
Ruby Completions1204
Crystal Completions36
PHP Completions1697
Haskell Completions528
C# Completions1698
TypeScript Completions849
C Completions550
COBOL Completions11
BF Completions46
Scala Completions30
Total Stars320
% of votes with a positive feedback rating92% of 3648
Total "Very Satisfied" Votes3111
Total "Somewhat Satisfied" Votes482
Total "Not Satisfied" Votes55
Total Rank Assessments11
Average Assessed Rank
7 kyu
Highest Assessed Rank
7 kyu
Lowest Assessed Rank
8 kyu
Ad
Contributors
  • myjinxin2015 Avatar
  • Javatlacati Avatar
  • suic Avatar
  • user8476848 Avatar
  • donaldsebleung Avatar
  • nbeck Avatar
  • Chrono79 Avatar
  • kazk Avatar
  • Voile Avatar
  • Souzooka Avatar
  • hobovsky Avatar
  • trashy_incel Avatar
  • SergeySinyavskiy Avatar
  • zLuki Avatar
  • akar-0 Avatar
  • Just4FunCoder Avatar
  • KayleighWasTaken Avatar
  • saudiGuy Avatar
Ad