You are viewing a single comment's thread. Return to all comments →
def even_odd(s): print(f"{s[0::2]} {s[1::2]}")
if name == 'main':
n = int(input()) for i in range(n): s =input() even_odd(s)
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 →
def even_odd(s): print(f"{s[0::2]} {s[1::2]}")
if name == 'main':