Commit c07b4f09 by BellCodeEditor

save project

parent 42f1f66c
Showing with 2 additions and 1 deletions
def oo():
print("-"*50)
total = []
while True:
unit= input("请输入:")
......@@ -13,7 +14,7 @@ def oo():
total.append(unit)
return total
total=oo()
print(total)
print("-"*50)
a=0.0
for i in total:
a+=i
......
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