7 kyu

Mumbling

87,702 of 240,656g964

Description:

This time no story, no theory. The examples below show you how to write function accum:

Examples:

accum("abcd") -> "A-Bb-Ccc-Dddd"
accum("RqaEzty") -> "R-Qq-Aaa-Eeee-Zzzzz-Tttttt-Yyyyyyy"
accum("cwAt") -> "C-Ww-Aaa-Tttt"

The parameter of accum is a string which includes only letters from a..z and A..Z.

Fundamentals
Strings
Puzzles

More By Author:

Check out these other kata created by g964

Stats:

CreatedDec 9, 2015
PublishedDec 9, 2015
Warriors Trained392970
Total Skips38750
Total Code Submissions698044
Total Times Completed240656
Ruby Completions6888
Python Completions79649
JavaScript Completions87702
Haskell Completions1478
C# Completions13105
Java Completions22093
Clojure Completions624
CoffeeScript Completions135
Elixir Completions605
TypeScript Completions4041
C++ Completions7447
PHP Completions6344
Crystal Completions48
F# Completions201
C Completions2667
Swift Completions2155
Go Completions4160
Rust Completions2323
R Completions289
Shell Completions348
OCaml Completions75
Kotlin Completions1980
Scala Completions577
Groovy Completions118
Julia Completions89
PowerShell Completions238
Nim Completions39
Reason Completions9
Racket Completions55
Dart Completions1161
Elm Completions50
Pascal Completions46
Lua Completions288
Perl Completions59
D Completions15
Erlang Completions24
Factor Completions13
Total Stars3607
% of votes with a positive feedback rating91% of 20915
Total "Very Satisfied" Votes17295
Total "Somewhat Satisfied" Votes3319
Total "Not Satisfied" Votes301
Ad
Contributors
  • g964 Avatar
  • OverZealous Avatar
  • dznz Avatar
  • dnolan Avatar
  • raulbc777 Avatar
  • suic Avatar
  • Chrono79 Avatar
  • kazk Avatar
  • B1ts Avatar
  • lilsweetcaligula Avatar
  • calebkleveter Avatar
  • pavloslav Avatar
  • Voile Avatar
  • mentalplex Avatar
  • monadius Avatar
  • hobovsky Avatar
  • trashy_incel Avatar
  • user8436785 Avatar
  • akar-0 Avatar
  • Kacarott Avatar
  • tri@ Avatar
  • Rocketboomer Avatar
  • KayleighWasTaken Avatar
  • saudiGuy Avatar
Ad