Commit 9ee3feca by BellCodeEditor

save project

parent 741dd960
def aaa():
def a():
total = []
while True:
unit= input("请输入:")
......@@ -12,11 +12,11 @@ def aaa():
else:
total.append(unit)
return total
#a=aaa()
def aaaa(a):
def b(a):
aaaaa=0
for i in a:
aaaaa=aaaaa+i
return aaaaa
#aaaaa=aaaa(a)
#print(aaaaa)
\ No newline at end of file
aaaaa=aaaa(a)
print(aaaaa)
\ No newline at end of file
import func
total=func.a()
count=func.b(total)
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