Commit c5651ca3 by BellCodeEditor

save project

parent a5916cb9
......@@ -11,5 +11,11 @@ def abc():
print('输入错误')
else:
total.append(unit)
print(total)
abc()
\ No newline at end of file
return total
def sum(money):
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