sentence = input("Enter your sentence ")

def repLace(sentence):
    if (" " not in sentence):
        return sentence
    else:
        return sentence[0: sentence.index(" ")] +"_"+ repLace(sentence[sentence.index(" ")+1 : len(sentence)])

print(repLace(sentence))
        
    

1988c5ad97fe257590c00a503c09a23e7f55b6bb
<mask token>

<mask token>


def repLace(sentence):
    if ' ' not in sentence:
        return sentence
    else:
        return sentence[0:sentence.index(' ')] + '_' + repLace(sentence[
            sentence.index(' ') + 1:len(sentence)])


<mask token>

<mask token>


def repLace(sentence):
    if ' ' not in sentence:
        return sentence
    else:
        return sentence[0:sentence.index(' ')] + '_' + repLace(sentence[
            sentence.index(' ') + 1:len(sentence)])


print(repLace(sentence))

sentence = input('Enter your sentence ')


def repLace(sentence):
    if ' ' not in sentence:
        return sentence
    else:
        return sentence[0:sentence.index(' ')] + '_' + repLace(sentence[
            sentence.index(' ') + 1:len(sentence)])


print(repLace(sentence))

sentence = input("Enter your sentence ")

def repLace(sentence):
    if (" " not in sentence):
        return sentence
    else:
        return sentence[0: sentence.index(" ")] +"_"+ repLace(sentence[sentence.index(" ")+1 : len(sentence)])

print(repLace(sentence))
        
    
