Commit baddc746 by BellCodeEditor

save project

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