第27215题 单选题
运行如下Python turtle代码段,最终得到的绘制效果是?
import turtle
# 初始时画笔位于画布中心(,),朝向右侧
# 步骤1:抬起画笔,向右移动5像素
turtle.penup()
turtle.forward(5)
# 步骤2:落下画笔,左转9度朝上,向上移动1像素
turtle.pendown()
turtle.left(9)
turtle.forward(1)
# 步骤3:抬起画笔,向上移动5像素
turtle.penup()
turtle.forward(5)
# 步骤4:落下画笔,右转9度朝右,向右移动1像素
turtle.pendown()
turtle.right(9)
turtle.forward(1)
turtle.done()
{{ option.label }}
子题{{ index + 1 }} {{ child.type_label }}
{{ option.label }}
✓ 正确 ◐ 部分正确 ✗ 错误
程序运行统计
暂无判题统计
提交{{ questionInfo.stats ? questionInfo.stats.submit_count : 0 }}次 正确率{{ statsAccuracy }}%
答案解析