content=""
list1=["donkey", "kadu", "hell"]
with open("file.txt") as f:
    content = f.read()
    print(content)
 
for items in list1:
    content=content.replace(items, "$!&%!^")

with open("file.txt", "w") as h:
    h.write(content)
c2696237e2cd27f075a4388986101450401f1c83
<mask token>

<mask token>
with open('file.txt') as f:
    content = f.read()
    print(content)
for items in list1:
    content = content.replace(items, '$!&%!^')
with open('file.txt', 'w') as h:
    h.write(content)

content = ''
list1 = ['donkey', 'kadu', 'hell']
with open('file.txt') as f:
    content = f.read()
    print(content)
for items in list1:
    content = content.replace(items, '$!&%!^')
with open('file.txt', 'w') as h:
    h.write(content)

content=""
list1=["donkey", "kadu", "hell"]
with open("file.txt") as f:
    content = f.read()
    print(content)
 
for items in list1:
    content=content.replace(items, "$!&%!^")

with open("file.txt", "w") as h:
    h.write(content)