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
Similar Kata:
Stats:
Created | Feb 3, 2016 |
Published | Feb 3, 2016 |
Warriors Trained | 141140 |
Total Skips | 9178 |
Total Code Submissions | 196434 |
Total Times Completed | 105282 |
Python Completions | 37539 |
Haskell Completions | 1008 |
JavaScript Completions | 47009 |
CoffeeScript Completions | 116 |
Ruby Completions | 3049 |
C# Completions | 5563 |
TypeScript Completions | 2062 |
R Completions | 189 |
Julia Completions | 76 |
Crystal Completions | 24 |
C Completions | 1409 |
Java Completions | 7530 |
COBOL Completions | 22 |
BF Completions | 138 |
D Completions | 14 |
RISC-V Completions | 32 |
Rust Completions | 940 |
Scala Completions | 92 |
Lua Completions | 87 |
C++ Completions | 758 |
Kotlin Completions | 208 |
Perl Completions | 6 |
Total Stars | 811 |
% of votes with a positive feedback rating | 93% of 6845 |
Total "Very Satisfied" Votes | 5959 |
Total "Somewhat Satisfied" Votes | 794 |
Total "Not Satisfied" Votes | 92 |