Commit 067272d6 by BellCodeEditor

save project

parent c814e56c
Showing with 22 additions and 5 deletions
...@@ -5,8 +5,15 @@ def qw(): ...@@ -5,8 +5,15 @@ def qw():
if unit== 'q': if unit== 'q':
break break
else: else:
total.append(unit) total.append(int(unit))
print(total)
return total return total
list=qw()
print(lst[0]) qe=qw()
\ No newline at end of file
def sun(money):
count=0
for i in money:
count += i
return count
add=sun(qe)
print(add)
\ No newline at end of file
def hello(name):
hfh="你好"+name
return hfh
hf=hello("小明")
print(hf)
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