第21868题
判断该Python代码是否可以正确遍历列表nums
nums = [1, 2, 3, 4, 5]
for num in nums:
print(num)
A

正确

B

错误

提交0次 正确率0.00%
答案解析