Commit 22e77aab by BellCodeEditor

save project

parent d849ac1a
Showing with 16 additions and 2 deletions
...@@ -13,7 +13,15 @@ def funny(): ...@@ -13,7 +13,15 @@ def funny():
tota.append(unit1) tota.append(unit1)
finally: finally:
print("-"*30) print("-"*30)
print(tota)
return tota return tota
def zongjia(money):
count=0
for i in money:
count=count+i
return count
price=funny()
pay=zongjia(price)
print(pay)
funny()
def hello(name):
content="你好"+name
return content
result=hello('xiaoyi')
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