Commit c5651ca3 by BellCodeEditor

save project

parent a5916cb9
...@@ -11,5 +11,11 @@ def abc(): ...@@ -11,5 +11,11 @@ def abc():
print('输入错误') print('输入错误')
else: else:
total.append(unit) total.append(unit)
print(total) return total
abc() def sum(money):
\ No newline at end of file count=0
for i in money:
count=count+i
return count
#c=sum(b)
#print(c)
\ No newline at end of file
import func
data=func.abc()
reslut=func.sum(data)
print(reslut)
\ 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