結果 : program to reverse of string by user defined function in python