Commit efeed458 by BellCodeEditor

auto save

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