Hello and welcome to the challenge!
Write a code which encrypts a string using the simple transposition method. In this method you should create 2 new strings and put even-indexed characters (including index
0) to the first and odd-indexed ones to the second. Next concatenate the strings.
simpleTransposition("abab12") -> "aa1bb2"
- input string
0 < length of S < 1000
Have fun and good luck! :)