第16990题 单选题
给定Python列表遍历寻找最小值索引的程序段,执行后p的值是多少?
L=[5,8,7,2,6,4,1,8]
p=0
for i in range(1,len(L)):
    if L[i]<L[p]:
        p=i
{{ option.label }}
子题{{ index + 1 }} {{ child.type_label }}
{{ option.label }}
✓ 正确 ◐ 部分正确 ✗ 错误
程序运行统计
暂无判题统计
提交{{ questionInfo.stats ? questionInfo.stats.submit_count : 0 }}次 正确率{{ statsAccuracy }}%
答案解析