Commit d0a8834b by BellCodeEditor

save project

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