def asd(n):
    f=open(n,'a',encoding='utf-8')
    while True:
        b=input("请输入姓名：")
        if b=='0':
            f.close()
            exit(0)
        f.write(b)
        f.write('\n')
asd('data.txt')
2c3c776ae7d44249be7ab3d506ab7b68c6638703
<mask token>

def asd(n):
    f = open(n, 'a', encoding='utf-8')
    while True:
        b = input('请输入姓名：')
        if b == '0':
            f.close()
            exit(0)
        f.write(b)
        f.write('\n')


<mask token>

def asd(n):
    f = open(n, 'a', encoding='utf-8')
    while True:
        b = input('请输入姓名：')
        if b == '0':
            f.close()
            exit(0)
        f.write(b)
        f.write('\n')


asd('data.txt')

def asd(n):
    f=open(n,'a',encoding='utf-8')
    while True:
        b=input("请输入姓名：")
        if b=='0':
            f.close()
            exit(0)
        f.write(b)
        f.write('\n')
asd('data.txt')