Commit 781511a5 by BellCodeEditor

save project

parent af406c84
Showing with 21 additions and 0 deletions
with open(r'c:\Users\HD11\Documents\lesson13-1\sales_list.txt','r',encoding='utf-8') as file1:
data=file1.readlines()
for i in data:
a=i[0:-1].split(" ")
print(a[1:])
\ No newline at end of file
悟空 12 15 11 12 11
诺依 21 29 15 21 21
小贝 29 11 11 15 13
李丽 13 15 20 15 15
宋扬 11 11 11 11 15
王明 30 27 26 24 29
李强 12 12 11 15 11
孙小白 25 26 12 15 27
苏琪 15 11 15 15 30
刘若若 11 11 13 11 20
刘阳 11 15 22 11 23
王胜男 27 15 15 26 13
王娇 12 11 12 12 15
\ 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