Commit a96f0027 by BellCodeEditor

save project

parent a6873a7a
......@@ -14,12 +14,12 @@ def new_input():
finally:
print("-"*30)
return total
price=new_input()
print(price)
#price=new_input()
#print(price)
def sum(money):
cont=0
for i in money:
cont=cont+i
return cont
d=sum(price)
print(d)
\ No newline at end of file
#d=sum(price)
#print(d)
\ No newline at end of file
import func
dadt=func.new_input()
score=func.sum(dadt)
print('总分是'+str(score))
\ 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