Commit c68caab3 by BellCodeEditor

save project

parent 1d804ba6
Showing with 7 additions and 5 deletions
...@@ -2,7 +2,9 @@ with open(r'D:\'test_new.txt','r',encoding='utf-8') as f: ...@@ -2,7 +2,9 @@ with open(r'D:\'test_new.txt','r',encoding='utf-8') as f:
# f.write('小明: 13 45 89 98 143\n') # f.write('小明: 13 45 89 98 143\n')
# f.write("小木:34 68 85 97 105\n") # f.write("小木:34 68 85 97 105\n")
# f.write('小红:54 74 80 89 92 3449') # f.write('小红:54 74 80 89 92 3449')
a=f.readlines() # a=f.readlines()
# print(a) # # print(a)
for i in a: # for i in a:
print(i) # print(i)
\ No newline at end of file data=i.spilt()
print(data[1:])
\ 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