第25256题 单选题
完善Python turtle绘图代码的横线填空

为实现从左到右依次增大且圆心在同一条带箭头水平直线上的5个圆效果,请完善如下Python turtle代码的横线处:

import turtle
nowX = 0 #绘图
for i in range(5):
    turtle.penup()
    turtle.goto(nowX, ____________)
    turtle.pendown()
    turtle.circle(10 * (i + 1))
    nowX = nowX + 10 * (i * 2 + 3)
#画一条直线,连接第一个圆和最后一个圆的圆心
turtle.penup()
turtle.home()
turtle.pendown()
turtle.forward(nowX - 10 * (i * 2 + 3))
{{ option.label }}
子题{{ index + 1 }} {{ child.type_label }}
{{ option.label }}
✓ 正确 ◐ 部分正确 ✗ 错误
程序运行统计
暂无判题统计
提交{{ questionInfo.stats ? questionInfo.stats.submit_count : 0 }}次 正确率{{ statsAccuracy }}%
答案解析