Commit efeed458 by BellCodeEditor

auto save

parent cf06b2fa
Showing with 16 additions and 6 deletions
def hello(name):
content="你好"+name
return content
result=hello('xiaoyi')
print(result)
\ No newline at end of file
def caimin():
list=[]
while True:
a=input("请输入")
if a == "q" :
break
else:
try:
b=int(a)
except:
print("请输入正确的?")
else:
list.append(b)
print(list())
caimin()
\ 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