Commit 2b0a4b4b by BellCodeEditor

save project

parent 621dba58
Showing with 5 additions and 1 deletions
...@@ -2,7 +2,10 @@ with open(r"C:\Users\稚慧人生\Desktop\sdgg.txt",'r',encoding='utf-8') as y: ...@@ -2,7 +2,10 @@ with open(r"C:\Users\稚慧人生\Desktop\sdgg.txt",'r',encoding='utf-8') as y:
l=y.readlines() l=y.readlines()
print(l) print(l)
for i in l: for i in l:
print(i) s=i.split()
print(s[0:6])
\ 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