Commit 39905e09 by BellCodeEditor

save project

parent 5472e2c9
Showing with 15 additions and 5 deletions
......@@ -11,8 +11,17 @@ def new_input():
print("请输入数字!")
else:
total.append(unit)
print(total)
return(total)
new_input()
result=new_input()
print(result)
return total
def func(data):
count=0
for i in data:
count=count+i
return count
a=func(new_input())
print(a)
# result=new_input()
# print(result)
\ 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