Commit fe2074cd by BellCodeEditor

save project

parent ca8a1107
Showing with 8 additions and 9 deletions
def megller(): total = []
total = [] while True:
while True:
try:
unit= input("请输入:") unit= input("请输入:")
if unit== 'q': if unit== 'q':
print(total)
break break
else:
try:
unit=int(unit) unit=int(unit)
except[]: except:
print("jkjkmmiknmmmzs") print("jkjkmmiknmmmzs")
else: else:
total.append(unit) total.append(unit)
print(total)
\ No newline at end of file \ 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