Commit fbb8ac1c by BellCodeEditor

save project

parent 2f9a3b79
Showing with 14 additions and 3 deletions
...@@ -11,5 +11,16 @@ def ak(): ...@@ -11,5 +11,16 @@ def ak():
print("请输入数字") print("请输入数字")
else: else:
total.append(unit) total.append(unit)
print(total) #print(total)
ak() return total
\ No newline at end of file a=ak()
print(a)
def b(s):
sum=0
for i in s
sum=sum+i
return sum
a()
c(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