• + 0 comments

    def string(s): even_char = s[::2] odd_char = s[1::2] return f"{even_char} {odd_char}" t = int(input()) for i in range(t): s = input() print(string(s))