Commit 9f88bfcc by BellCodeEditor

save project

parent 25721078
Showing with 9 additions and 3 deletions
...@@ -10,5 +10,11 @@ def a(): ...@@ -10,5 +10,11 @@ def a():
except: except:
print("请输入函数") print("请输入函数")
return total return total
b=a() def b(total):
print(b[0]) count=0
\ No newline at end of file for i in total:
count+=i
return count
a=a()
b=b(a)
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