Commit 5fd2a845 by BellCodeEditor

save project

parent f21a9b09
Showing with 4 additions and 1 deletions
...@@ -20,6 +20,8 @@ list = open(r"c:\Users\EDZ\Documents\lesson13-1\sales_list.txt",'r',encoding='ut ...@@ -20,6 +20,8 @@ list = open(r"c:\Users\EDZ\Documents\lesson13-1\sales_list.txt",'r',encoding='ut
a = list.readlines() a = list.readlines()
print(a) print(a)
for i in a: for i in a:
print([i]) data = i.split()
num = data[1:]
print(num)
list.close() list.close()
\ 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