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
Similar Kata:
Stats:
Created | Feb 3, 2016 |
Published | Feb 3, 2016 |
Warriors Trained | 142110 |
Total Skips | 9230 |
Total Code Submissions | 197742 |
Total Times Completed | 106074 |
Python Completions | 37870 |
Haskell Completions | 1008 |
JavaScript Completions | 47252 |
CoffeeScript Completions | 116 |
Ruby Completions | 3058 |
C# Completions | 5599 |
TypeScript Completions | 2085 |
R Completions | 189 |
Julia Completions | 76 |
Crystal Completions | 24 |
C Completions | 1426 |
Java Completions | 7600 |
COBOL Completions | 22 |
BF Completions | 139 |
D Completions | 14 |
RISC-V Completions | 33 |
Rust Completions | 956 |
Scala Completions | 93 |
Lua Completions | 88 |
C++ Completions | 823 |
Kotlin Completions | 228 |
Perl Completions | 6 |
Total Stars | 815 |
% of votes with a positive feedback rating | 93% of 6868 |
Total "Very Satisfied" Votes | 5979 |
Total "Somewhat Satisfied" Votes | 797 |
Total "Not Satisfied" Votes | 92 |