From cb1dd89680503b48f74584ff151cd89c305a3c95 Mon Sep 17 00:00:00 2001 From: BellCodeEditor <bellcode_dev@bell.ai> Date: Sun, 9 Apr 2023 09:18:59 +0800 Subject: [PATCH] save project --- diy.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/diy.py b/diy.py index 953f90c..ec1bc93 100644 --- a/diy.py +++ b/diy.py @@ -3,4 +3,5 @@ file=open(r'c:\Users\Makcoo1\Documents\lesson13-1\sales_list.txt','r',encoding=' a=file.readlines() #file=open(r'c:\Users\Makcoo1\Documents\lesson13-1\sales_list.txt','r',encoding='utf-8') for i in a: - print(i) \ No newline at end of file + data=i.split() + print(data[1:]) \ No newline at end of file -- libgit2 0.25.0