判断题

下面 Python 代码可以正确遍历列表 nums。

nums = [1, 2, 3, 4, 5]
for num in nums:
print(num)

A

正确

B

错误

赣ICP备20007335号-2