Commit baddc746 by BellCodeEditor

save project

parent b44ed7e0
......@@ -11,14 +11,14 @@ def ag():
else:
total.append(unit)
return total
b=ag()
#b=ag()
def sum(money):
a=0
for i in money:
a=a+i
return a
sum(b)
print(sum(b))
#sum(b)
#print(sum(b))
......
import func
func.ag()
func.sum()
print()
\ No newline at end of file
b=func.ag()
QG=func.sum(b)
print("总分是"+str(QG))
\ 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