8 kyu

Double Char

37,870 of 106,074Alpri 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 Trained142110
Total Skips9230
Total Code Submissions197742
Total Times Completed106074
Python Completions37870
Haskell Completions1008
JavaScript Completions47252
CoffeeScript Completions116
Ruby Completions3058
C# Completions5599
TypeScript Completions2085
R Completions189
Julia Completions76
Crystal Completions24
C Completions1426
Java Completions7600
COBOL Completions22
BF Completions139
D Completions14
RISC-V Completions33
Rust Completions956
Scala Completions93
Lua Completions88
C++ Completions823
Kotlin Completions228
Perl Completions6
Total Stars815
% of votes with a positive feedback rating93% of 6868
Total "Very Satisfied" Votes5979
Total "Somewhat Satisfied" Votes797
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