Commit 58eab705 by BellCodeEditor

save project

parent b59ac934
Showing with 7 additions and 6 deletions
def new_input():
total = []
while True:
unit=input("买了蛤,不给不100w许走:")
if unit == 'q':
unit= input("买了蛤,不给¥不许走:")
if unit== 'q':
break
else:
try:
unit = int(unit)
except:
print('不是哥们我™只让你输入整数!')
print('不是哥们,我让你输入其他的了吗!?')
else:
total.append(unit)
print(total)
new_input()
\ No newline at end of file
return total
result = new_input()
print(result)
\ 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