Commit fae11946 by BellCodeEditor

auto save

parent 233b5aad
Showing with 11 additions and 6 deletions
try:
def new
def new_warm():
total = []
while True:
except:
unit= input("请输入:")
unit=input("请输入:")
if unit== 'q':
break
print("要输入整数哦~")
else:
else:
try:
unit=int(unit)
except:
print("要输入整数")
else:
total.append(unit)
print("_"*30)
print(total)
new_warm()
\ 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