第18290题 单选题
给定使用enumerate函数的Python程序,其运行输出结果是?

enumerate()函数用于将一个可遍历的数据对象(如列表、元组或字符串)组合为一个索引序列,程序代码如下:

example = '7890'
for i,j in enumerate(example):
    print(i,j)
{{ option.label }}
子题{{ index + 1 }} {{ child.type_label }}
{{ option.label }}
✓ 正确 ◐ 部分正确 ✗ 错误
程序运行统计
暂无判题统计
提交{{ questionInfo.stats ? questionInfo.stats.submit_count : 0 }}次 正确率{{ statsAccuracy }}%
答案解析