Commit 3be123ca by BellCodeEditor

save project

parent 48415ebd
import swim1
xyz=swim1.new_input()
result=swim1.sum1(xyz)
print(result)
\ No newline at end of file
...@@ -17,6 +17,6 @@ def sum1(money): ...@@ -17,6 +17,6 @@ def sum1(money):
for i in money: for i in money:
count+=i count+=i
return count return count
list1=new_input() #list1=new_input()
result=sum1(list1) #result=sum1(list1)
print("您一共消费"+str(result)+"元") #print("您一共消费"+str(result)+"元")
\ No newline at end of file \ 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