PowerShell, (削除) 29 (削除ここまで) 23(削除) 23 (削除ここまで) 21 bytes
-6 bytes thanks to Andrei Odegov
$args-replace'.','$&$&'
#21 byte solution by mazzy splatting the input
-2 bytes thanks to mazzy
-join($args|%{$_+$_})
Not sure if this way meshes with theTakes input specsvia splatting, essentially making it an array of being considered just a "string"chars
PowerShell, (削除) 29 (削除ここまで) 23 bytes
-6 bytes thanks to Andrei Odegov
$args-replace'.','$&$&'
#21 byte solution by mazzy splatting the input
-join($args|%{$_+$_})
Not sure if this way meshes with the input specs of being considered just a "string"
PowerShell, (削除) 29 (削除ここまで) (削除) 23 (削除ここまで) 21 bytes
-6 bytes thanks to Andrei Odegov
-2 bytes thanks to mazzy
-join($args|%{$_+$_})
Takes input via splatting, essentially making it an array of chars
PowerShell, 29(削除) 29 (削除ここまで) 23 bytes
-6 bytes thanks to Andrei Odegov
$args-replace'.','$&$&'
#21 byte solution by mazzy splatting the input
-join("$args"|% t*y|%$args|%{$_+$_})
Not sure if this way meshes with the input specs of being considered just a "string"
PowerShell, (削除) 29 (削除ここまで) 23 bytes
-6 bytes thanks to Andrei Odegov
$args-replace'.','$&$&'
#21 byte solution by mazzy splatting the input
-join($args|%{$_+$_})
Not sure if this way meshes with the input specs of being considered just a "string"