This is a problem from Contest Code:[PRACTICE] Problem Code:[FLOW007]
My code gives wrong answer on submission but when give sample input through custom input. I get the same sample output as shown in the question. Please explain ?
https://www.codechef.com/viewsolution/45495013
code script
t=int(input())
for i in range(t):
n=str(input())
print(n[::-1])
input:
3
1434
258
3456
output
4341
852
6543