while True:
txt = ''
while len(txt)<3:
txt += input("请输入文字:") + '\n'
with open('/storage/emulated/0/1/3.txt', 'a+') as f:
f.write(txt)
from datetime import datetime
import time
print(datetime.now())
print(datetime.today())