• + 21 comments

    I have to agree. I'm a huge fan of Python because I spend less time coding to solve actual problems, but I have never seen the advantage to pack code into one line; I always spend too much trying to decipher it.

    for i in range(int(input())): s=input(); print(*["".join(s[::2]),"".join(s[1::2])])
    

    can be

    for i in range(int(input())):
        s = input()
        print(s[::2], s[1::2])
    

    and you can easily see what is going on. Isn't that easier?