def find_end_paren(function_code: str, start: int):
    """
    Find the end location given a starting parenthesis location
    :param function_code:
    :param start:
    :return:
    """
    parentheses = []
    for i, character in enumerate(function_code[start:]):
        if character == "(":
            parentheses.append(character)
        elif character == ")":
            parentheses.pop()
        if not parentheses:
            return i + start