Commit 0af10857 by BellCodeEditor

auto save

parent ee290b3f
Showing with 16 additions and 3 deletions
def hello(name):
content = "你好" + name
return content
result = hallo("小易")
ptrint(result)
\ No newline at end of file
......@@ -10,6 +10,13 @@ def new_input():
except:
print("请输入数字或q")
return total
def sum(money):
count = 0
for i in money:
count += i
return count
listl = new_input()
print(listl)
\ No newline at end of file
result = sum(listl)
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