Commit 80898382 by BellCodeEditor

save project

parent e0fd001a
Showing with 6 additions and 3 deletions
......@@ -4,7 +4,9 @@ a.close()
print(a)
with open(r'C:\Users\123\Documents\eudhuw\test.txt',"r",encoding='utf-8')as a:
b=a.readlines()
print(b)
for i in range(b):
print(i)
for i in b:
d=i.split()
print(d[0])
print(d[1:21])
\ 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