You are viewing a single comment's thread. Return to all comments →
This is my solution with Python 3
n = int(input()) for i in range(n): s = str(input()) even_string = s[::2] odd_string = s[1::2] print(f"{even_string} {odd_string}")
If you have any comments or improvements, please let me know!
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 →
This is my solution with Python 3
If you have any comments or improvements, please let me know!