def reverse_string(string):\n    reversed_string = ""\n    forchar in string: \n        reversed_string = char + reversed_string\n    return reversed_string
Write a function that takes a string parameter and returns the same string in reverse?