Commit aa9d8eb3 by BellCodeEditor

save project

parent b32ebce7
Showing with 9 additions and 12 deletions
x=0
xbhssx=0
while True:
try:
while True:
b= input("请输入:")
if b== 'q':
break
else:
x+=int(b)
print(x)
except:
print('你是不是个傻缺,数字和字母都分不清!')
\ No newline at end of file
while True:
xbhssb= input("请输入:")
if xbhssb== 'q':
break
else:
xbhssx+=int(xbhssb)
print(xbhssx)
\ 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