#K71747. Double Characters
Double Characters
Double Characters
Given a string ( s ), your task is to generate a new string in which every character in ( s ) is repeated twice consecutively. This means that if the input is a string like "abcd", the output should be "aabbccdd".
The problem tests basic string manipulation and is aimed at beginners. Please make sure to read the string from standard input (stdin) and write the result to standard output (stdout).
inputFormat
Input will consist of a single line containing the string ( s ). The string can include letters, digits, special characters, or even spaces.
outputFormat
Output a single line containing the modified string where each character from the input is repeated twice.## sample
abcd
aabbccdd