We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
I agree, this is my final code. Those if are the constraints
test=int(input())if1<=testandtest<=10:foriinrange(test):palabra=str(input())#palabra means word in spanish, sorry :Pif2<=len(palabra)andlen(palabra)<=10000:print(palabra[::2],palabra[1::2])else:print("Error")
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Equal
You are viewing a single comment's thread. Return to all comments →
I agree, this is my final code. Those if are the constraints