Commit d836f693 by BellCodeEditor

save project

parent cd643af9
Showing with 12 additions and 4 deletions
...@@ -16,17 +16,18 @@ def shu(): ...@@ -16,17 +16,18 @@ def shu():
print("输入整数") print("输入整数")
else: else:
total.append(shu) total.append(a)
return total return total
jiage=shu() jiage=shu()
print(jiuhe) print(jiage)
def qiuhe(liebiao): def qiuhe(liebiao):
s=0 s=0
for i in lieiao: for i in liebiao:
s=s+i s=s+i
return s return s
zongjia=qiuhe(jiuhe) zongjia=qiuhe(jiage)
print(zongjia)
fun
\ No newline at end of file
import fync
a=func.shu()
b=func.qiuhe()
print(b)
\ 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