Each program has one mistake. Tap the line where the mistake is, then choose the change to that line that makes the program work.
cat
tac
Step 1: tap the line where the mistake is.
word = input()
backwards = ''
for i in range(len(word), 0, -1):
backwards = backwards + word[i]
print(backwards)
You can still revise this topic