Commit 2147c00c by BellCodeEditor

save project

parent 470658c7
......@@ -12,9 +12,14 @@ def new_input():
else:
total.append(unit)
finally:
print("*"*30)
print(total)
print("*"*30)
return total
w=new_input()
print(w)
\ No newline at end of file
def sum(list):
s=0
for i in list:
s=s+i
return s
# w=new_input()
# print(w)
# e=sum(w)
# print("你花了:",e)
import func
list=func.new_input()
a=func.sum(list)
print(a)
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