运行下列代码,输出结果是()a = [1, 2, 3] for i in range(3): a.append(i) print(a)
A. [1, 2, 3, 2]
B. [1, 2, 3, 0]
C. [1, 2, 3, 0, 1, 2]
D. [1, 2, 3, 1, 2, 3]
查看答案
有字典weather如下,下列选项中可以打印“阴”的是()weather = {"周一": [26, "晴"], "周二": [24, "阴"], "周三": [22, "雨"]}
A. print(weather["周一"][0])
B. print(weather["周一"][1])
C. print(weather["周二"][1])
D. print(weather["周二"][2])
下列代码中,作用是更新画布的是()
A. pygame.display.update()
B. screen.fill((0, 0, 255))
C. pygame.display.set_caption("title")
D. pygame.display.set_mode((500,400))