Commit 3aa759c7 by BellCodeEditor

save project

parent 4d4e2376
......@@ -18,6 +18,6 @@ def sum(money):
for i in money:
count+=i
return count
result=new_input()
count1=sum(result)
print("您消费了",count1,"元")
\ No newline at end of file
# result=new_input()
# count1=sum(result)
# print("您消费了",count1,"元")
\ No newline at end of file
import func
result=func.new_input()
count1=func.sum(result)
print("总成绩为",count1,"分")
\ 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