Commit e5d1028c by BellCodeEditor

save project

parent 189e128f
Showing with 6 additions and 1018 deletions
with open(r'','r',encoding='utf-8')
for i in a: for i in a:
data=i.split() data=i.split()
# print(data[1:]) # print(data[1:])
sum=0 sum=0
for sales in data[1:]: for sales in data[1:]:
sum=sum+sales sum=sum+int(sales)
print(sum) fg=data[0]+str(sum)
\ No newline at end of file print(fg)
\ 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