#Find the inverse of a string def main(): print() word =input("GIve us the word: ") inverse="" for letter in word: inverse= letter+inverse #inverse=inverse+letter - incorrect order print("The inverse of ", word," is the word",inverse,".")