Commit 1a0a70b3 by BellCodeEditor

save project

parent c25b77c5
Showing with 5 additions and 3 deletions
with open(r"C:\Users\86185\Desktop\VScode-python\money.txt",'r',encoding='UTF-8') as f:
with open(r"C:\Users\86185\Desktop\Python文件\money.txt",'r',encoding='UTF-8') as f:
r=f.readlines()
for i in r:
print(i)
\ No newline at end of file
a=i.split()
print("姓名:"+i[0:2])
print("收获:"+i[3:])
\ No newline at end of file
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