第31188题 单选题
在Scratch中执行以下操作后,列表「字符列表」的第5项内容是?

已知字符串s的值为「Scratch3.0」,按顺序执行如下操作:

  1. 初始化空列表「字符列表」;
  2. 循环变量i从1到s的长度,每次将「s的第i个字符」加入「字符列表」;
  3. 删除「字符列表」的第3项;
  4. 将「字符列表」的第6项替换为「X」。
{{ option.label }}
子题{{ index + 1 }} {{ child.type_label }}
{{ option.label }}
✓ 正确 ◐ 部分正确 ✗ 错误
程序运行统计
暂无判题统计
提交{{ questionInfo.stats ? questionInfo.stats.submit_count : 0 }}次 正确率{{ statsAccuracy }}%
答案解析