Commit cbb7d9ca by BellCodeEditor

save project

parent 5d335742
Showing with 8 additions and 3 deletions
......@@ -4,5 +4,10 @@ for i in data:
data=i.split()
name=data[0]
money=data[1:]
print(name)
print(money)
\ No newline at end of file
# print(name)
# print(money)
sum=0
for sales in money:
sum=sum+int(sales)
result=name+str(sum)
print(result)
\ 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