Commit 1df62be9 by BellCodeEditor

save project

parent 74a7dda8
Showing with 7 additions and 6 deletions
...@@ -4,4 +4,4 @@ ...@@ -4,4 +4,4 @@
num = '13. 15. 21. 9. 14. 22' num = '13. 15. 21. 9. 14. 22'
new_num = num.split('.') new_num = num.split('.')
print(new_num) print(new_num)
\ No newline at end of file
with open(r'C:\Users\Administrator\Desktop\sales-.listtxt','r',encoding='utf-8')as filel: with open(r'C:\Users\Administrator\Desktop\sales-list.txt','r',encoding='utf-8')as file:
a=filel.readlines() a=file.readlines()
# print(a)
for i in a: for i in a:
print(i) data=i.split()
\ No newline at end of file print(data[1:])
\ 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