Create a function in Python which takes a string and returns the reversed string
def reverseString(string):
    reversedString = ""
    for i in range(len(string) - 1, -1, -1):
        reversedString += string[i]
    return reversedString