Commit 9f88bfcc by BellCodeEditor

save project

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