第29468题 单选题
在Scratch中运行下列脚本,最终变量「计数」的数值是多少?

脚本内容如下:

当绿旗被点击

  1. 将变量「计数」设为 0
  2. 重复执行 4 次:
    • 如果「计数」< 3 ,那么将「计数」增加 2
    • 否则将「计数」增加 1
{{ option.label }}
子题{{ index + 1 }} {{ child.type_label }}
{{ option.label }}
✓ 正确 ◐ 部分正确 ✗ 错误
程序运行统计
暂无判题统计
提交{{ questionInfo.stats ? questionInfo.stats.submit_count : 0 }}次 正确率{{ statsAccuracy }}%
答案解析