Commit 7e896c1e by BellCodeEditor

save project

parent e3b35da4
Showing with 10 additions and 5 deletions
def w():
def new_input():
total = []
while True:
unit= input("请输入:")
unit= input("请输入(qtc):")
if unit== 'q':
break
else:
total.append(unit)
try:
unit=int(unit)
except:
print('pshuru')
else:
total.append(unit)
print("-"*30)
print(total)
w()
\ No newline at end of file
new_input()
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