I’ve been trying this for over 10 minutes and it should work. But I keep getting a failure. Can someone explain to me why it’s not working? It would be much appreciated.
Here’s my code:
T = int(input())
for i in range(T):
N = 0
N = input()
print (N[::-1])
Tutorial? Just go to the problem page. On top right and also at the bottom, you will see a blue “Submit” button. Click on it, which will redirect you to submit page. Select your language and paste the code. Alternatively, you can also select your file. Click on submit.