Commit baee3cd5 by BellCodeEditor

save project

parent c4fbf3c7
Showing with 6 additions and 2 deletions
with open(r"c:\Users\Administrator\Documents\lesson12-2\111.txt",encoding="utf-8") as A:
B=A.readlines()
for i in B:
print(i)
\ No newline at end of file
k=i.split()
p=k[0:1]
o=k[1:]
print(p)
print(o)
\ 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