Easy
Every Second Character
Read a word. Print the characters at even positions using
[::2], then the characters at odd positions using [1::2].Input
One word.
Output
Two lines.
Sample 1
Input
abcdef
Output
ace bdf
Sample 2
Input
Python
Output
Pto yhn
Output appears here