''' Purpose: produce and print the reverse of a user-supplied word (using accummulation) ''' ### get word reply = input( "Enter word: " ) word = reply.strip() ### get a copy of the word through accumulation ... for ch in word : ... ### print reverse print( reverse )