def backer(word): nw = "" cd = len(word) - 1 while cd > -1: nw = nw + word[cd] cd = cd - 1 return(nw) while True: print(backer(input("Input: ")))