第24897题 判断题
默认小猫角色执行给定Scratch程序,输入正整数123,小猫说出的内容是否为123123?

程序积木如下:Scratch程序积木 程序逻辑:定义自定义函数func,参数为text;初始化ans为空、i为1,重复执行直到i大于text的字符数:将ans设为「text的第i个字符 + 原有ans + 序号i」的拼接结果,i每次加1;最终小猫说出ans的值2秒。

{{ option.label }}
子题{{ index + 1 }} {{ child.type_label }}
{{ option.label }}
✓ 正确 ◐ 部分正确 ✗ 错误
程序运行统计
暂无判题统计
提交{{ questionInfo.stats ? questionInfo.stats.submit_count : 0 }}次 正确率{{ statsAccuracy }}%
答案解析