Commit 8737d44d by BellCodeEditor

auto save

parent dc70412a
Showing with 22 additions and 0 deletions
def bg():
a=[]
while True:
b=input()
if b=="q":
break
else:
try:
b=int(b)
except:
print("请输入数字")
else:
a.append(b)
return a
print(bg())
def a():
n=1
m=1
b=m+n
return b
print(a())
\ 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