三个任务谁最后被处理
运行下面这段程序:
q = []
for t in ["备份", "转码", "发信"]:
q.append(t)
last = ""
while len(q) > 0:
last = q.pop(0)
print(last)
运行下面这段程序:
q = []
for t in ["备份", "转码", "发信"]:
q.append(t)
last = ""
while len(q) > 0:
last = q.pop(0)
print(last)
全部评论