My issue
My code
#Update the code below to solve this problem
t = int(input())
for i in range(t):
S = str(input())
A = ""
# Write the code below this line to generate String A
for i in S:
A=A+i
B = ""
# Write the code below this line to generate String B
for i in S:
B=i+B
print(A)
print(B)
Learning course: Kalasalingam Academy of Research and Education
Problem Link: CodeChef: Practical coding for everyone