cara mencetak bahkan indeks dalam python
T = list(input().split())
for j in T:
a = ""
b = ""
for i in range(0,len(j)):
if i%2 == 0:
a = a+j[i]
else :
b = b + j[i]
print(a+" "+b)
Xanthous Xenomorph