@@ -0,0 +1,382 @@
+def reverse_string(input_string):%0A%09new_string = %5B%5D%0A%09for i in range(len(input_string)-1, -1, -1): # or you could use reversed(range(len(input_string)))%0A%09%09new_string.append(input_string%5Bi%5D)%0A%09new_string = ''.join(new_string)%0A%09return new_string%0A%0Adef main():%0A%09user_input = str(raw_input(%22Please give me a string: %22))%0A%09print reverse_string(user_input)%0A%0Aif __name__ == '__main__':%0A%09main()%0A

Create reverse_string.py