Commit 6da445dd by BellCodeEditor

save project

parent b8d55524
Showing with 25 additions and 9 deletions
def qw(): def qw():
total = [] total = []
count=0
while True: while True:
unit= input("请输入:") unit= input("请输入:")
if unit== 'q': if unit== 'q':
break break
else: else:
total.append(unit) total.append(unit)
print(total) #print(total)
return total return total
qw() qrt=qw()
print(lst[0])
def sun(money):
count=0
for i in money:
count += i
return count
\ No newline at end of file
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