Commit d5a935fd by BellCodeEditor

save project

parent 1334e22c
Showing with 9 additions and 7 deletions
......@@ -3,12 +3,13 @@ def a():
while True:
unit= input("请输入:")
try:
unit=input(unit)
unit=int(unit)
except:
if unit== 'q':
break
if unit== 'q':
break
else:
print("jlkhke")
else:
print("jlkhke")
else:
total.append(unit)
print(total)
total.append(unit)
print(total)
a()
\ 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