Commit 5795c1f1 by BellCodeEditor

save project

parent d23ca426
Showing with 17 additions and 3 deletions
def furc():
def new_input():
total = []
while True:
try:
......@@ -11,5 +11,12 @@ def furc():
print("请输入数字或'q'")
return total
list1 = furc()
print(list1)
def sum(money):
count = 0
for i in money
count += input
return count
list1 = new_input()
result = sum(list1)
print(result)
def hello(name):
content = "你好" + name
return content
result = hello("小易")
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