Commit 660373aa by BellCodeEditor

save project

parent c7526172
......@@ -12,7 +12,7 @@ def new_input():
else:
total.append(unit)
print("-"*30)
print(total)
#print(total)
return total
def sum(money):
......@@ -21,6 +21,6 @@ def sum(money):
count+=i
return count
a=new_input()
money2=sum(a)
print(money2)
\ No newline at end of file
#a=new_input()
#money2=sum(a)
#print(money2)
\ No newline at end of file
import func
score=func.new_input()
count=func.sum(score)
print("总分是"+str(count))
\ 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