You are viewing a single comment's thread. Return to all comments →
t = int(input()) for _ in range(t): s = input() sEven = s[::2] sOdd = s[1::2] print(f"{sEven} {sOdd}")
Seems like cookies are disabled on this browser, please enable them to open this website
Day 6: Let's Review
You are viewing a single comment's thread. Return to all comments →
t = int(input()) for _ in range(t): s = input() sEven = s[::2] sOdd = s[1::2] print(f"{sEven} {sOdd}")