• + 1 comment

    n = str(input("What is your name")) a = "" b = "" for x in range(len(n)): if x%2 == 0: a+=n[x] elif x%2 != 0: b+=n[x] print(a+""+b)

    This is my code. it gives right output in pycharm but why cant i pass the test cases?/ anyoone please help