Commit 4949d04b by BellCodeEditor

save project

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