You are viewing a single comment's thread. Return to all comments →
t=int(input()) r='' while t !=0: s=input() for j in range(0,len(s),2): r+=(s[j]) r+=' ' for k in range(1,len(s),2): r+=(s[k]) t-=1 print(r) r=''
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 →