Commit 2d8af17a by BellCodeEditor

save project

parent a9e4284a
Showing with 9 additions and 6 deletions
with open(r'c:\Users\makcoo\Documents\lesson13_2\sales_list.txt',"r",encoding="utf-8") as file: #with open(r'c:\Users\makcoo\Documents\lesson13_2\sales_list.txt',"r",encoding="utf-8") as file:
a=file.readlines() #a=file.readlines()
# print(a)
for i in a: # for i in a:
print(i) # print(i) # print(a)
\ No newline at end of file a='山 田 大 佐'
ss=a.split()
print(ss)
\ 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