Commit 933d6fe8 by BellCodeEditor

save project

parent d292d66e
Showing with 5 additions and 14 deletions
with open( r'c:\Users\A32\Desktop\sales_list.txt', 'r',encoding="utf-8")as f:
a=f.readlines()
for i in a:
date=i.split()
print(date[0])
print(date[1:])
sum=0
for saless in date[1:]:
sum=sum+str9sum
result = date[0]+str(sum)
print(result)
\ No newline at end of file
c
a=int(a)
n=a+10
print(n)
\ 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