sentence = input("Enter sentence: ")

def replace(sentence):
    while sentence.count("a") > 0:
        sentence = sentence[0: sentence.index("a")] + "@" + sentence[sentence.index("a")+1:len(sentence)]
    return sentence

print("The new sentence is:", replace(sentence))

        
        

c7f5d6f6af5bdcd5eee9a9b57b4ba02753bbe168
<mask token>

<mask token>


def replace(sentence):
    while sentence.count('a') > 0:
        sentence = sentence[0:sentence.index('a')] + '@' + sentence[
            sentence.index('a') + 1:len(sentence)]
    return sentence


<mask token>

<mask token>


def replace(sentence):
    while sentence.count('a') > 0:
        sentence = sentence[0:sentence.index('a')] + '@' + sentence[
            sentence.index('a') + 1:len(sentence)]
    return sentence


print('The new sentence is:', replace(sentence))

sentence = input('Enter sentence: ')


def replace(sentence):
    while sentence.count('a') > 0:
        sentence = sentence[0:sentence.index('a')] + '@' + sentence[
            sentence.index('a') + 1:len(sentence)]
    return sentence


print('The new sentence is:', replace(sentence))

sentence = input("Enter sentence: ")

def replace(sentence):
    while sentence.count("a") > 0:
        sentence = sentence[0: sentence.index("a")] + "@" + sentence[sentence.index("a")+1:len(sentence)]
    return sentence

print("The new sentence is:", replace(sentence))

        
        
