H5

Given an input string, return all odd-indexed characters in order.

Input: A nonempty string

Output: The odd-indexed (based on indexing with 0) characters of this string, in order.

Examples:

"Hello, World"->el,Wrd
"A"           ->
"Spring"      ->pig

Languages, by Score

Languages, by Name


Back to Hole List

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License