Commit cab78ae3 by BellCodeEditor

save project

parent 0dff5e06
Showing with 9 additions and 2 deletions
......@@ -8,9 +8,15 @@ def func():
else:
if unit== 'q':
break
else:
else:/
total.append(unit)
print(total)
return
return total
def jisuan(total):
count = 0
for i in total:
count = count + i
return count
abc=func()
jiage = jisuan(abc)
print(abc)
\ 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