8 kyu

Double Char

37,539 of 105,282Alpri Else

Description:

Given a string, you have to return a string in which each character (case-sensitive) is repeated once.

Examples (Input -> Output):

* "String"      -> "SSttrriinngg"
* "Hello World" -> "HHeelllloo  WWoorrlldd"
* "1234!_ "     -> "11223344!!__  "

Good Luck!

Fundamentals
Strings

More By Author:

Check out these other kata created by Alpri Else

Stats:

CreatedFeb 3, 2016
PublishedFeb 3, 2016
Warriors Trained141140
Total Skips9178
Total Code Submissions196434
Total Times Completed105282
Python Completions37539
Haskell Completions1008
JavaScript Completions47009
CoffeeScript Completions116
Ruby Completions3049
C# Completions5563
TypeScript Completions2062
R Completions189
Julia Completions76
Crystal Completions24
C Completions1409
Java Completions7530
COBOL Completions22
BF Completions138
D Completions14
RISC-V Completions32
Rust Completions940
Scala Completions92
Lua Completions87
C++ Completions758
Kotlin Completions208
Perl Completions6
Total Stars811
% of votes with a positive feedback rating93% of 6845
Total "Very Satisfied" Votes5959
Total "Somewhat Satisfied" Votes794
Total "Not Satisfied" Votes92
Ad
Contributors
  • Alpri Else Avatar
  • jhoffner Avatar
  • CrazyMerlyn Avatar
  • Jotha Avatar
  • myjinxin2015 Avatar
  • donaldsebleung Avatar
  • kazk Avatar
  • B1ts Avatar
  • barakplasma Avatar
  • Voile Avatar
  • Madjosz Avatar
  • hobovsky Avatar
  • Th1ngshappen Avatar
  • trashy_incel Avatar
  • zLuki Avatar
  • ejini战神 Avatar
  • akar-0 Avatar
  • dfhwze Avatar
  • QKiryu Avatar
  • Just4FunCoder Avatar
  • Heiss Avatar
  • o2001 Avatar
  • KayleighWasTaken Avatar
  • metatable Avatar
  • saudiGuy Avatar
Ad