第29471题 单选题
在Scratch中运行下述脚本,小猫最终累计移动的总步数是多少?

脚本逻辑如下:

  1. 当绿旗被点击时,初始化变量「总步数」为0
  2. 重复执行5次:
    • 如果【当前重复次数】为偶数:移动10步,将「总步数」增加10
    • 否则:移动5步,将「总步数」增加5
{{ option.label }}
子题{{ index + 1 }} {{ child.type_label }}
{{ option.label }}
✓ 正确 ◐ 部分正确 ✗ 错误
程序运行统计
暂无判题统计
提交{{ questionInfo.stats ? questionInfo.stats.submit_count : 0 }}次 正确率{{ statsAccuracy }}%
答案解析