def second_index(text: str, symbol: str):
     k=0
     for i in range(len(text)):
         if text[i]==symbol:
             k+=1
             if k==2:
                 return i
     return None
print(second_index("hi mr Mayor", " "))
4f30f1de37ff22fcef031d892a01ae57d6a73f92
<mask token>

def second_index(text: str, symbol: str):
    k = 0
    for i in range(len(text)):
        if text[i] == symbol:
            k += 1
            if k == 2:
                return i
    return None


<mask token>

def second_index(text: str, symbol: str):
    k = 0
    for i in range(len(text)):
        if text[i] == symbol:
            k += 1
            if k == 2:
                return i
    return None


print(second_index('hi mr Mayor', ' '))

def second_index(text: str, symbol: str):
     k=0
     for i in range(len(text)):
         if text[i]==symbol:
             k+=1
             if k==2:
                 return i
     return None
print(second_index("hi mr Mayor", " "))