Commit 7f01c3bc by BellCodeEditor

save project

parent dc0fa280
Showing with 3 additions and 2 deletions
......@@ -3,4 +3,6 @@ with open(r'C:\Users\pc04\Desktop\新建文本文档.txt','r',encoding='utf-8')a
print(a)
for i in a:
print(i)
\ No newline at end of file
data=i.split()
print(data[0])#姓名
print(data[1:])#义卖款
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