Commit a7f3c899 by BellCodeEditor

save project

parent faad18ea
Showing with 7 additions and 3 deletions
def yyy1145141919810():
r=0
while True:
op=input("输入")
op=input("输入(p结束)")
if op=="p":
break
else:
......@@ -9,6 +9,10 @@ def yyy1145141919810():
op=int(op)
r+=op
except:
if op=="p":
break
print(r)
yyy1145141919810()
else:
print("非整数")
return r
asd=yyy1145141919810()
print(asd)
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