Commit b6c0cfcc by BellCodeEditor

save project

parent ff1cef29
Showing with 4 additions and 3 deletions
......@@ -4,12 +4,12 @@ def apple():
unit= input("请输入:")
if unit== 'q':
break
else:
else:
try:
jiu=int(unit)
except:
except :
print(jiu)
else:
total.append(unit)
total.append(jiu)
print(total)
apple()
\ 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