Commit b60ff70b by BellCodeEditor

save project

parent 7eaed43a
Showing with 21 additions and 0 deletions
def a():
b =0
while True:
c=input("请输入(q退出):")
if c =="q":
break
else:
try:
c=int(c)
b+=c
except:
print("s")
print(b)
a()
\ No newline at end of file
try:
a=int(input('a'))
except:
print("b")
print('c')
\ 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