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:
a=file.readlines()
# print(a)
#with open(r'c:\Users\makcoo\Documents\lesson13_2\sales_list.txt',"r",encoding="utf-8") as file:
#a=file.readlines()
for i in a:
print(i)
\ No newline at end of file
# for i in a:
# print(i) # print(a)
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