You are viewing a single comment's thread. Return to all comments →
I love how Python can do stuff like this in one line.
for i in range(int(input())): s=input(); print(*["".join(s[::2]),"".join(s[1::2])])
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 →
I love how Python can do stuff like this in one line.