Commit 584178a5 by BellCodeEditor

auto save

parent 8ffc031e
Showing with 12 additions and 0 deletions
f=open(r'C:\Users\29018\Desktop\list.txt','w',encoding='utf-8')
f.write("悟空" "12" "34" "\n"
"诺依" "23" "45" "\n"
"小贝" "10" "20" )
f.close()
f=open(r'C:\Users\29018\Desktop\list.txt','r',encoding='utf-8')
a=f.readlines()
sep=a.split(' ')
print(sep)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment