def second_index(text: str, symbol: str):
    """
        returns the second index of a symbol in a given text
    """

    res = [i for i,x in enumerate(text) if x==symbol ]
    if len(res) >= 2:
        return res[1]
    return None


    # try:
    #     return text.index(symbol,text.index(symbol)+1)
    # except ValueError:
    #     return None