Commit 6ebf7824 by BellCodeEditor

save project

parent b2b76fc9
Showing with 3 additions and 0 deletions
...@@ -2,3 +2,5 @@ with open(r"c:\Users\Lenovo、\Documents\lesson13-1\sales_list.txt","r",encoding ...@@ -2,3 +2,5 @@ with open(r"c:\Users\Lenovo、\Documents\lesson13-1\sales_list.txt","r",encoding
a=file1.readlines() a=file1.readlines()
print(type(a[3:5])) print(type(a[3:5]))
print(a[3:5]) print(a[3:5])
for i in a:
print(i)
\ 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