Commit 9658841b by BellCodeEditor

save project

parent fc586e46
Showing with 31 additions and 2 deletions
def hello(name):
conten = "你好" + name
return conten
result = hello("小易")
print(result)
\ No newline at end of file
...@@ -11,5 +11,28 @@ def func(): ...@@ -11,5 +11,28 @@ def func():
print("只能输入整数或q") print("只能输入整数或q")
return total return total
def sum(money):
count = 0
for i in money:
count + = i
return count
list1 = func() list1 = func()
print(list1) print(list1)
\ 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